summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2009-09-24 23:29:18 +0000
committerJonas Häggqvist <rasher@rasher.dk>2009-09-24 23:29:18 +0000
commitf2cd5ec6af19f7ab438c770c3383c3a1741d8e4f (patch)
tree58c46966e8bd312e1ffd1c0fb1c85f8f86694b85
parenta305ca94a11f0d548f3c27a16d7d660cad28a450 (diff)
downloadrockbox-f2cd5ec6af19f7ab438c770c3383c3a1741d8e4f.tar.gz
rockbox-f2cd5ec6af19f7ab438c770c3383c3a1741d8e4f.zip
Syntax fixes and logic reversing to fix windows crosscompiling for the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22824 a1c6a512-1295-4272-9138-f99709370657
-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 () {
sdl_cflags=""
sdl_libs=""
prefixtools i586-mingw32msvc-
- if [ $1 = "sdl" -a -z "$sdl"]; then
+ if [ $1 = "sdl" -a -n "$sdl" ]; then
sdl_cflags="`sdl-config --cflags`"
sdl_libs="`sdl-config --libs`"
fi
# add cross-compiler option(s)
- GCCOPTS="$GCCOPTS " + $sdl_cflags
- LDOPTS="-mconsole" + $sdl_libs
+ GCCOPTS="$GCCOPTS $sdl_cflags"
+ LDOPTS="-mconsole $sdl_libs"
output="rockboxui.exe" # use this as output binary name
crosscompile="yes"