aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoost Peters2009-11-24 11:54:17 +0000
committerJoost Peters2009-11-24 11:54:17 +0000
commit83556930409e11803b40761c15220e2e4d739161 (patch)
tree179a4cb4e5e54efbb359fc921af5cbf33bf4170c
parentb8b042d4bf22b62a55394fe50972d50335766a59 (diff)
downloadscummvm-rg350-83556930409e11803b40761c15220e2e4d739161.tar.gz
scummvm-rg350-83556930409e11803b40761c15220e2e4d739161.tar.bz2
scummvm-rg350-83556930409e11803b40761c15220e2e4d739161.zip
fix psp port building
svn-id: r46121
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 1630666a16..501618e916 100755
--- a/configure
+++ b/configure
@@ -900,9 +900,7 @@ psp)
_host_os=psp
_host_cpu=mipsallegrexel
_host_alias=psp
- PSPDEV=$(psp-config --pspdev-path)
- PSPSDK=$(psp-config --pspsdk-path)
- LDFLAGS="$LDFLAGS -L$PSPSDK/lib -L$PSPDEV/psp/lib -specs=$_srcdir/backends/platform/psp/psp.spec"
+ LDFLAGS="$LDFLAGS -L$PSPDEV/psp/sdk/lib -specs=$_srcdir/backends/platform/psp/psp.spec"
;;
ps2)
_host_os=ps2
@@ -985,6 +983,7 @@ wii | gamecube | nds)
fi
;;
psp)
+ PSPSDK=$(psp-config --pspsdk-path)
if test -z "$PSPSDK"; then
echo "Please set the path to PSPSDK in your environment."
exit 1
@@ -2307,6 +2306,7 @@ case $_backend in
psp)
DEFINES="$DEFINES -D__PSP__ -DDISABLE_TEXT_CONSOLE -DDISABLE_COMMAND_LINE -DDISABLE_DOSBOX_OPL"
INCLUDES="$INCLUDES -I$PSPDEV/psp/include/SDL"
+ LIBS="$LIBS -lpng -lSDL"
;;
ps2)
# TODO ps2