Removed dependency on libgcc_s_sjlj-1.dll when building with mingw64
This commit is contained in:
parent
d944115cb1
commit
1990b00614
3 changed files with 4 additions and 9 deletions
|
@ -5851,9 +5851,10 @@ func_mode_link ()
|
|||
# -tp=* Portland pgcc target processor selection
|
||||
# --sysroot=* for sysroot support
|
||||
# -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
|
||||
# -{shared,static}-lib*: force GCC to link against specified libgcc
|
||||
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
|
||||
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
|
||||
-O*|-flto*|-fwhopr*|-fuse-linker-plugin)
|
||||
-O*|-flto*|-fwhopr*|-fuse-linker-plugin|-shared-lib*|-static-lib*)
|
||||
func_quote_for_eval "$arg"
|
||||
arg="$func_quote_for_eval_result"
|
||||
func_append compile_command " $arg"
|
||||
|
|
5
configure
vendored
5
configure
vendored
|
@ -22243,10 +22243,7 @@ $as_echo "#define SDL_LOADSO_WINDOWS 1" >>confdefs.h
|
|||
have_loadso=yes
|
||||
fi
|
||||
# Set up the system libraries we need
|
||||
# SDL is unicode, and unicows emulates this on Windows 98/ME
|
||||
# You can get this here: http://libunicows.sourceforge.net/
|
||||
#EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lunicows"
|
||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lversion -luuid"
|
||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -static-libgcc"
|
||||
# The Windows platform requires special setup
|
||||
VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
|
||||
SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"
|
||||
|
|
|
@ -2411,10 +2411,7 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
|||
have_loadso=yes
|
||||
fi
|
||||
# Set up the system libraries we need
|
||||
# SDL is unicode, and unicows emulates this on Windows 98/ME
|
||||
# You can get this here: http://libunicows.sourceforge.net/
|
||||
#EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lunicows"
|
||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lversion -luuid"
|
||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -static-libgcc"
|
||||
# The Windows platform requires special setup
|
||||
VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
|
||||
SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue