aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/Makefile
diff options
context:
space:
mode:
authorJoost Peters2009-11-25 00:22:38 +0000
committerJoost Peters2009-11-25 00:22:38 +0000
commita04f2e4affe57d138479c3330a2ea5e677b9038e (patch)
treea3037a016cd27b5703f5b711231a2d324b3ee74c /backends/platform/psp/Makefile
parent3fda71b10c6a4c0bb6949c7cc032bd4b4d4a5323 (diff)
downloadscummvm-rg350-a04f2e4affe57d138479c3330a2ea5e677b9038e.tar.gz
scummvm-rg350-a04f2e4affe57d138479c3330a2ea5e677b9038e.tar.bz2
scummvm-rg350-a04f2e4affe57d138479c3330a2ea5e677b9038e.zip
apply patch #2903175: "PSP: compile cleanup/fix for gprof and Windows"
svn-id: r46134
Diffstat (limited to 'backends/platform/psp/Makefile')
-rw-r--r--backends/platform/psp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/psp/Makefile b/backends/platform/psp/Makefile
index cf6ad09335..681691236a 100644
--- a/backends/platform/psp/Makefile
+++ b/backends/platform/psp/Makefile
@@ -128,7 +128,7 @@ PSPLIBS = -lpspvfpu -lpspdebug -lpspgu -lpspge -lpspdisplay -lpspctrl -lpspsdk \
# Add in PSPSDK includes and libraries.
CXXFLAGS += $(SDLFLAGS)
-LIBS += -lpng -lz -lstdc++ -lc $(SDLLIBS) $(PSPLIBS)
+LIBS += -lpng -lSDL -lz $(findstring -lGL,$(SDLLIBS)) -lstdc++ -lc -lm $(filter -L%,$(SDLLIBS)) $(PSPLIBS)
OBJS := powerman.o \
psp_main.o \