Skip to content

Commit

Permalink
openssl, refactor: fix compile error on windows arm64.
Browse files Browse the repository at this point in the history
  • Loading branch information
xicilion committed Apr 3, 2024
1 parent 42b56a1 commit 0569ea4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openssl/cmake/windows_arm64.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1018,4 +1018,6 @@ set(src_list
${PROJECT_SOURCE_DIR}/src/ssl/tls13_enc.c
${PROJECT_SOURCE_DIR}/src/ssl/tls_depr.c
${PROJECT_SOURCE_DIR}/src/ssl/tls_srp.c
)
)

add_definitions(-DSTATIC_LEGACY)
2 changes: 2 additions & 0 deletions openssl/tools/gen_src.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ fs.readdir("build").forEach(target => {
const m2 = /-D(BS)?AES_ASM( +(-D\S*))+/.exec(makescript);
if (m2)
defs = m2[0];
else
defs = "-DSTATIC_LEGACY";
}

fs.mkdir('cmake', { recursive: true });
Expand Down

0 comments on commit 0569ea4

Please sign in to comment.