Fixed StaticC flag not statically linking to the correct libraries.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -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 ()
|
||||
|
||||
Reference in new issue
Block a user