summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2011-02-13 11:57:32 +0000
committerThomas Jarosch <tomj@simonv.com>2011-02-13 11:57:32 +0000
commitfb790be29e54d45bb6eaad052bd6b74d62965f9b (patch)
treecf2d76bdf44c706e47619f70c7bcc6b01b469f54 /tools
parentefdf49668e1784400008062077f1335784818c9c (diff)
downloadrockbox-fb790be29e54d45bb6eaad052bd6b74d62965f9b.tar.gz
rockbox-fb790be29e54d45bb6eaad052bd6b74d62965f9b.tar.bz2
rockbox-fb790be29e54d45bb6eaad052bd6b74d62965f9b.zip
Fix SDL detection on Nokia N8xx
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29295 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index eb5d9dabbe..bcb7d0a864 100755
--- a/tools/configure
+++ b/tools/configure
@@ -480,8 +480,13 @@ maemocc () {
fi
# SDL
- GCCOPTS="$GCCOPTS `pkg-config --cflags sdl`"
- LDOPTS="$LDOPTS `pkg-config --libs sdl`"
+ if [ $is_n900 -eq 1 ]; then
+ GCCOPTS="$GCCOPTS `pkg-config --cflags sdl`"
+ LDOPTS="$LDOPTS `pkg-config --libs sdl`"
+ else
+ GCCOPTS="$GCCOPTS `sdl-config --cflags`"
+ LDOPTS="$LDOPTS `sdl-config --libs`"
+ fi
# glib and libosso support
GCCOPTS="$GCCOPTS `pkg-config --cflags libosso glib-2.0 gthread-2.0`"