From 6444a8ce1ccc191934b732fc76afd8a3b41206b6 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 12 Feb 2022 12:55:58 +0100 Subject: [PATCH] threaded fixes --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f7a260..d4bbfd7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -204,8 +204,8 @@ endif () if (STATICC) set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed") message(STATUS "Linking C library statically") - set(_LINKS ${_LINKS} -static-libstdc++ -Wl,-Bstatic -lgcc -lstdc++ -lpthread -Wl,-Bdynamic) - SET(_TESTLINKS ${_TESTLINKS} -Wl,-Bstatic -lgcc -lstdc++ -lpthread -Wl,-Bdynamic) + set(_LINKS ${_LINKS} -static-libstdc++) + SET(_TESTLINKS ${_TESTLINKS}) endif () target_link_libraries(pkmnLib PRIVATE ${_LINKS})