From fb790be29e54d45bb6eaad052bd6b74d62965f9b Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Sun, 13 Feb 2011 11:57:32 +0000 Subject: [PATCH] Fix SDL detection on Nokia N8xx git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29295 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 9 +++++++-- 1 file 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`"