Amend previous commit.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2021-10-23 16:05:52 +02:00
parent ae3021dd64
commit 3ca665cb62
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ endif ()
if (STATICC) if (STATICC)
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed") set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed")
message(STATUS "Linking C library statically") message(STATUS "Linking C library statically")
set(_LINKS ${_LINKS} -Wl,-Bstatic -lm -lgcc -lstdc++ -lpthread -Wl,-Bdynamic) set(_LINKS ${_LINKS} -Wl,-Bstatic -lm -lgcc -lstdc++ -Wl,-Bdynamic)
SET(_TESTLINKS ${_TESTLINKS} -Wl,-Bstatic -lm -lgcc -lstdc++ -Wl,-Bdynamic) SET(_TESTLINKS ${_TESTLINKS} -Wl,-Bstatic -lm -lgcc -lstdc++ -Wl,-Bdynamic)
else () else ()
SET(_LINKS ${_LINKS} -Wl,--whole-archive -Wl,--no-whole-archive) SET(_LINKS ${_LINKS} -Wl,--whole-archive -Wl,--no-whole-archive)