Skip to content

Commit

Permalink
PKCS11: Fix lib linking
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Mar 19, 2024
1 parent a34fced commit 89e0f1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkcs11/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ target_link_libraries(
yubihsm
${LIBCRYPTO_LDFLAGS}
${GETOPT_LIBS}
"-lm"
)

if(WIN32)
Expand Down
2 changes: 1 addition & 1 deletion pkcs11/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ target_link_libraries (
target_link_libraries (
ecdh_sp800_test
${LIBCRYPTO_LDFLAGS}
"-ldl")
"-ldl" "-lm")

add_test (
NAME ecdh_derive_test
Expand Down

0 comments on commit 89e0f1d

Please sign in to comment.