diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/configure | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure index eb5d9da..bcb7d0a 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`" |