From 4ac520eaf7da79e907492de344a6aa6591e80275 Mon Sep 17 00:00:00 2001 From: "Miso Zmiric (Mike Squinter)" Date: Sat, 22 Nov 2014 20:28:23 +0000 Subject: [PATCH] fixes #585, now statically linking against stdlibc++ --- CMakeLists_mingw.txt | 2 +- clean.sh | 0 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 clean.sh 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