CMake: -Wl,--exclude-libs=ALL has been removed for MinGW
This commit is contained in:
parent
f4a0ac93e3
commit
7c8d5dd36d
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ if(MSVC)
|
|||
elseif(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang"))
|
||||
if(wxBUILD_USE_STATIC_RUNTIME)
|
||||
if(MINGW)
|
||||
set(STATIC_LINKER_FLAGS " -static -Wl,--exclude-libs=ALL")
|
||||
set(STATIC_LINKER_FLAGS " -static")
|
||||
else()
|
||||
set(STATIC_LINKER_FLAGS " -static-libgcc -static-libstdc++")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue