aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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