aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2011-07-01 15:11:52 +1000
committerTravis Howell2011-07-01 15:11:52 +1000
commita5d001fdef730b61453cc4786f7c4ee45827549e (patch)
tree6aa25561a3aed978591af27fc39875531493ddc3
parent16ba176b4f23f7bc21b46aa4fc7a65e7dfb0cfcc (diff)
downloadscummvm-rg350-a5d001fdef730b61453cc4786f7c4ee45827549e.tar.gz
scummvm-rg350-a5d001fdef730b61453cc4786f7c4ee45827549e.tar.bz2
scummvm-rg350-a5d001fdef730b61453cc4786f7c4ee45827549e.zip
BUILD: Use static build when compiling with later GCC versions under mingw, to avoid additional DLL requirements.
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index eb8b4558fa..932ab9a31c 100755
--- a/configure
+++ b/configure
@@ -1854,6 +1854,7 @@ case $_host_os in
mingw*)
DEFINES="$DEFINES -DWIN32"
DEFINES="$DEFINES -D__USE_MINGW_ANSI_STDIO=0"
+ LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++"
LIBS="$LIBS -lmingw32 -lwinmm -lgdi32"
OBJS="$OBJS scummvmwinres.o"
add_line_to_config_mk 'WIN32 = 1'