summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/configure b/tools/configure
index 4eb6a295f8..b774d1475b 100755
--- a/tools/configure
+++ b/tools/configure
@@ -46,13 +46,13 @@ crosswincc () {
46 sdl_cflags="" 46 sdl_cflags=""
47 sdl_libs="" 47 sdl_libs=""
48 prefixtools i586-mingw32msvc- 48 prefixtools i586-mingw32msvc-
49 if [ $1 = "sdl" -a -z "$sdl"]; then 49 if [ $1 = "sdl" -a -n "$sdl" ]; then
50 sdl_cflags="`sdl-config --cflags`" 50 sdl_cflags="`sdl-config --cflags`"
51 sdl_libs="`sdl-config --libs`" 51 sdl_libs="`sdl-config --libs`"
52 fi 52 fi
53 # add cross-compiler option(s) 53 # add cross-compiler option(s)
54 GCCOPTS="$GCCOPTS " + $sdl_cflags 54 GCCOPTS="$GCCOPTS $sdl_cflags"
55 LDOPTS="-mconsole" + $sdl_libs 55 LDOPTS="-mconsole $sdl_libs"
56 56
57 output="rockboxui.exe" # use this as output binary name 57 output="rockboxui.exe" # use this as output binary name
58 crosscompile="yes" 58 crosscompile="yes"