CMake: pthread symbols has been removed from export (MinGW)
This commit is contained in:
parent
82dfc62a62
commit
7be4d12749
@ -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=libgcc_eh.a")
|
||||
set(STATIC_LINKER_FLAGS " -static -Wl,--exclude-libs=libgcc_eh.a -Wl,--exclude-libs=libpthread.a")
|
||||
else()
|
||||
set(STATIC_LINKER_FLAGS " -static-libgcc -static-libstdc++")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user