forked from len0rd/rockbox
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
This commit is contained in:
parent
a305ca94a1
commit
f2cd5ec6af
1 changed files with 3 additions and 3 deletions
6
tools/configure
vendored
6
tools/configure
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue