diff --git a/CMakeLists.txt b/CMakeLists.txt index 6bbcceaeb..209fbc459 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -155,7 +155,6 @@ option(BUILD_STATIC_CHIAPOS_LIBRARY "Build chiapos static library (verify-only)" IF (BUILD_STATIC_CHIAPOS_LIBRARY) message("Build chiapos static library (verify-only)") add_library(chiapos_static STATIC src/chacha8.c c-bindings/wrapper.cpp) - target_link_libraries(chiapos_static PUBLIC -static -Wl,--whole-archive -lrt -lpthread -Wl,--no-whole-archive) target_link_libraries(chiapos_static PRIVATE blake3) target_include_directories(chiapos_static PUBLIC lib/include) ENDIF()