diff --git a/tools/configure b/tools/configure index 35f4b6d107..b1f2308a3e 100755 --- a/tools/configure +++ b/tools/configure @@ -435,6 +435,7 @@ simcc () { else echo "Your sdl-config does not know about static libs, falling back to shared library" sdlldopts=$($sdl --libs) + LDOPTS=`echo $LDOPTS | sed -e s/ -static//` fi GCCOPTS="$GCCOPTS ${sdlccopts}" LDOPTS="$LDOPTS ${sdlldopts}"