From 60fb707203c5b0ce2c32776890611846f0c22566 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Fri, 13 May 2016 23:55:33 +0100 Subject: configure: statically link sdl on win32 cross compile Change-Id: If9115da0470e2c301589329af67433f7260d24d3 --- tools/configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/configure') diff --git a/tools/configure b/tools/configure index efad8a7c46..0c040455ae 100755 --- a/tools/configure +++ b/tools/configure @@ -255,7 +255,7 @@ simcc () { if [ "$win32crosscompile" = "yes" ]; then # We are crosscompiling # add cross-compiler option(s) - LDOPTS="$LDOPTS -mconsole" + LDOPTS="$LDOPTS -mconsole -static" output="$output.exe" winbuild="yes" CROSS_COMPILE=${CROSS_COMPILE:-"i586-mingw32msvc-"} @@ -342,7 +342,7 @@ simcc () { else # generic sdl-config checker GCCOPTS="$GCCOPTS `$sdl --cflags`" - LDOPTS="$LDOPTS `$sdl --libs`" + LDOPTS="$LDOPTS `$sdl --static-libs`" fi fi -- cgit v1.2.3