diff --git a/CMakeLists_mingw.txt b/CMakeLists_mingw.txt index f3df7c65fe..9a333ac9cf 100644 --- a/CMakeLists_mingw.txt +++ b/CMakeLists_mingw.txt @@ -11,7 +11,7 @@ SET(PKG_CONFIG_EXECUTABLE ${COMPILER_PREFIX}-pkg-config) # -fshort-wchar -fshort-enums -mms-bitfields # set(CMAKE_C_FLAGS "-masm=intel -std=gnu99 -fpack-struct=2" CACHE STRING "" FORCE) -set(CMAKE_SHARED_LINKER_FLAGS "-static-libgcc" CACHE STRING "" FORCE) +set(CMAKE_SHARED_LINKER_FLAGS "-static-libgcc -static-libstdc++" CACHE STRING "" FORCE) # find and include SDL2 INCLUDE(FindPkgConfig) diff --git a/clean.sh b/clean.sh old mode 100644 new mode 100755