Skip to content

Commit

Permalink
Fix MacOS compilation, add libsecure to target link libs for nano_lib
Browse files Browse the repository at this point in the history
The problem appears to be that nano_lib uses libsecure but it is not
listing it as a dependency. The ipc_flatbuffers_test_client does not list
libsecure and the compilation was failing.

The problem was only happening in MacOs Debug builds only.
I assume that it was happening in Debug builds only because of an assert
that used libsecure code.

However, I do not understand why this problem was not appearing on linux.
  • Loading branch information
Dimitrios Siganos authored and Dimitrios Siganos committed Sep 13, 2022
1 parent d67a78c commit e494e4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nano/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ target_link_libraries(
ed25519
crypto_lib
blake2
secure
ipc_flatbuffers_lib
${CRYPTOPP_LIBRARY}
${CMAKE_DL_LIBS}
Expand Down

0 comments on commit e494e4b

Please sign in to comment.