Skip to content

Commit 25fe5d9

Browse files
committed
Try to fix static build 3
1 parent 4b3c322 commit 25fe5d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dynadjust/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,7 @@ if(BUILD_STATIC)
572572
message("")
573573
message(STATUS "STATIC_LIBS_LIST=${STATIC_LIBS_LIST}")
574574

575-
# Replace DNA_LIBRARIES with static equivalents, keeping system libraries
576-
set(DNA_LIBRARIES ${STATIC_LIBS_LIST} -lm -ldl)
575+
set(DNA_LIBRARIES ${STATIC_LIBS_LIST} -lpthread -lm -ldl)
577576

578577
# Print sizes of static libraries
579578
message(STATUS "")

0 commit comments

Comments
 (0)