BUILD: Use static build when compiling with later GCC versions under mingw, to avoid additional DLL requirements.
This commit is contained in:
parent
16ba176b4f
commit
a5d001fdef
1 changed files with 1 additions and 0 deletions
1
configure
vendored
1
configure
vendored
|
@ -1854,6 +1854,7 @@ case $_host_os in
|
||||||
mingw*)
|
mingw*)
|
||||||
DEFINES="$DEFINES -DWIN32"
|
DEFINES="$DEFINES -DWIN32"
|
||||||
DEFINES="$DEFINES -D__USE_MINGW_ANSI_STDIO=0"
|
DEFINES="$DEFINES -D__USE_MINGW_ANSI_STDIO=0"
|
||||||
|
LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++"
|
||||||
LIBS="$LIBS -lmingw32 -lwinmm -lgdi32"
|
LIBS="$LIBS -lmingw32 -lwinmm -lgdi32"
|
||||||
OBJS="$OBJS scummvmwinres.o"
|
OBJS="$OBJS scummvmwinres.o"
|
||||||
add_line_to_config_mk 'WIN32 = 1'
|
add_line_to_config_mk 'WIN32 = 1'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue