Amend previous commit.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ae3021dd64
commit
3ca665cb62
|
@ -143,7 +143,7 @@ endif ()
|
|||
if (STATICC)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed")
|
||||
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)
|
||||
else ()
|
||||
SET(_LINKS ${_LINKS} -Wl,--whole-archive -Wl,--no-whole-archive)
|
||||
|
|
Loading…
Reference in New Issue