1
0
Fork 0
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:
Jonas Häggqvist 2006-08-28 11:46:54 +00:00
parent d9199d10b1
commit 04f07febd5

4
tools/configure vendored
View file

@ -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