diff options
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure index efad8a7c46..0c040455ae 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -255,7 +255,7 @@ simcc () { | |||
255 | if [ "$win32crosscompile" = "yes" ]; then | 255 | if [ "$win32crosscompile" = "yes" ]; then |
256 | # We are crosscompiling | 256 | # We are crosscompiling |
257 | # add cross-compiler option(s) | 257 | # add cross-compiler option(s) |
258 | LDOPTS="$LDOPTS -mconsole" | 258 | LDOPTS="$LDOPTS -mconsole -static" |
259 | output="$output.exe" | 259 | output="$output.exe" |
260 | winbuild="yes" | 260 | winbuild="yes" |
261 | CROSS_COMPILE=${CROSS_COMPILE:-"i586-mingw32msvc-"} | 261 | CROSS_COMPILE=${CROSS_COMPILE:-"i586-mingw32msvc-"} |
@@ -342,7 +342,7 @@ simcc () { | |||
342 | else | 342 | else |
343 | # generic sdl-config checker | 343 | # generic sdl-config checker |
344 | GCCOPTS="$GCCOPTS `$sdl --cflags`" | 344 | GCCOPTS="$GCCOPTS `$sdl --cflags`" |
345 | LDOPTS="$LDOPTS `$sdl --libs`" | 345 | LDOPTS="$LDOPTS `$sdl --static-libs`" |
346 | fi | 346 | fi |
347 | fi | 347 | fi |
348 | 348 | ||