Fixed StaticC flag not statically linking to the correct libraries.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-05-02 16:11:41 +02:00
parent 8e5dd2fca5
commit 4e79571e49
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,8 @@ if (WINDOWS)
endif (WINDOWS)
if (STATICC)
SET(_LINKS ${_LINKS} -static-libgcc -static-libstdc++)
SET(_LIBRARYLINKS ${_LIBRARYLINKS} -static-libgcc -static-libstdc++)
SET(_BATTLINGLINKS ${_BATTLINGLINKS} -static-libgcc -static-libstdc++)
if (NOT DEFINED CONAN_EXPORTED)
SET(_TESTLINKS ${_TESTLINKS} -static-libgcc -static-libstdc++)
endif ()