From a5d001fdef730b61453cc4786f7c4ee45827549e Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 1 Jul 2011 15:11:52 +1000 Subject: BUILD: Use static build when compiling with later GCC versions under mingw, to avoid additional DLL requirements. --- configure | 1 + 1 file changed, 1 insertion(+) 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' -- cgit v1.2.3