forked from len0rd/rockbox
Enable crosscompiling of the SDL simulator if a crosscompiled SDL is available (and its sdl-config is in $PATH). See FS#5858 for details.
The binaries are quite large, which means that many codecs (and possibly plugins as well) won't work reliably. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10784 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d9199d10b1
commit
04f07febd5
1 changed files with 4 additions and 0 deletions
4
tools/configure
vendored
4
tools/configure
vendored
|
|
@ -128,6 +128,10 @@ simcc () {
|
||||||
LDOPTS='-L/usr/X11R6/lib -lX11 -lm -lXt -lXmu -lnsl -ldl -lpthread'
|
LDOPTS='-L/usr/X11R6/lib -lX11 -lm -lXt -lXmu -lnsl -ldl -lpthread'
|
||||||
crosswincc # setup cross-compiler
|
crosswincc # setup cross-compiler
|
||||||
elif [ "$simver" = "sdl" ]; then
|
elif [ "$simver" = "sdl" ]; then
|
||||||
|
if [ "0" != `sdl-config --libs |grep -c mwindows` ]; then
|
||||||
|
# Enable crosscompiling if sdl-config is from Windows SDL
|
||||||
|
crosswincc
|
||||||
|
fi
|
||||||
GCCOPTS="$GCCOPTS `sdl-config --cflags`"
|
GCCOPTS="$GCCOPTS `sdl-config --cflags`"
|
||||||
LDOPTS="`sdl-config --libs`"
|
LDOPTS="`sdl-config --libs`"
|
||||||
checksoundcard
|
checksoundcard
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue