Skip to content

Commit

Permalink
Can compile in OpenBSD/adJ. Closes ton-blockchain#337 (ton-blockchain…
Browse files Browse the repository at this point in the history
…#430)

* Updating abseil-cpp to version of 14th April 2022 that supports OpenBSD/adJ

* Not using dl in OpenBSD/adJ
  • Loading branch information
vtamara authored Oct 11, 2022
1 parent 7fcfc63 commit f7041cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,12 @@ target_include_directories(ton_crypto PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_S
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>)
target_link_libraries(ton_crypto PUBLIC ${OPENSSL_CRYPTO_LIBRARY} tdutils tddb_utils)
if (NOT WIN32)
target_link_libraries(ton_crypto PUBLIC dl z)
find_library(DL dl)
if (DL)
target_link_libraries(ton_crypto PUBLIC dl z)
else()
target_link_libraries(ton_crypto PUBLIC z)
endif()
endif()
target_include_directories(ton_crypto SYSTEM PUBLIC $<BUILD_INTERFACE:${OPENSSL_INCLUDE_DIR}>)

Expand Down
2 changes: 1 addition & 1 deletion third-party/abseil-cpp
Submodule abseil-cpp updated 259 files

0 comments on commit f7041cb

Please sign in to comment.