diff options
author | Thomas Jarosch <tomj@simonv.com> | 2011-02-13 11:57:32 +0000 |
---|---|---|
committer | Thomas Jarosch <tomj@simonv.com> | 2011-02-13 11:57:32 +0000 |
commit | fb790be29e54d45bb6eaad052bd6b74d62965f9b (patch) | |
tree | cf2d76bdf44c706e47619f70c7bcc6b01b469f54 | |
parent | efdf49668e1784400008062077f1335784818c9c (diff) | |
download | rockbox-fb790be29e54d45bb6eaad052bd6b74d62965f9b.tar.gz rockbox-fb790be29e54d45bb6eaad052bd6b74d62965f9b.zip |
Fix SDL detection on Nokia N8xx
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29295 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-x | tools/configure | 9 |
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 () { | |||
480 | fi | 480 | fi |
481 | 481 | ||
482 | # SDL | 482 | # SDL |
483 | GCCOPTS="$GCCOPTS `pkg-config --cflags sdl`" | 483 | if [ $is_n900 -eq 1 ]; then |
484 | LDOPTS="$LDOPTS `pkg-config --libs sdl`" | 484 | GCCOPTS="$GCCOPTS `pkg-config --cflags sdl`" |
485 | LDOPTS="$LDOPTS `pkg-config --libs sdl`" | ||
486 | else | ||
487 | GCCOPTS="$GCCOPTS `sdl-config --cflags`" | ||
488 | LDOPTS="$LDOPTS `sdl-config --libs`" | ||
489 | fi | ||
485 | 490 | ||
486 | # glib and libosso support | 491 | # glib and libosso support |
487 | GCCOPTS="$GCCOPTS `pkg-config --cflags libosso glib-2.0 gthread-2.0`" | 492 | GCCOPTS="$GCCOPTS `pkg-config --cflags libosso glib-2.0 gthread-2.0`" |