parent
54efff6251
commit
0eefcf0f1f
|
@ -167,7 +167,7 @@ if (LINK_STD_STATICALLY)
|
||||||
message(STATUS "Linking std libraries statically")
|
message(STATUS "Linking std libraries statically")
|
||||||
set(as_LINKS -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++)
|
set(as_LINKS -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++)
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
set(as_LINKS "${as_LINKS} -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,--no-whole-archive")
|
set(as_LINKS "${as_LINKS}")
|
||||||
else()
|
else()
|
||||||
set(as_LINKS "${as_LINKS}")
|
set(as_LINKS "${as_LINKS}")
|
||||||
endif(MSVC)
|
endif(MSVC)
|
||||||
|
|
Loading…
Reference in New Issue