diff options
Diffstat (limited to 'backends/platform/psp')
-rw-r--r-- | backends/platform/psp/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/platform/psp/Makefile b/backends/platform/psp/Makefile index 9bf24f7385..8413a12eb1 100644 --- a/backends/platform/psp/Makefile +++ b/backends/platform/psp/Makefile @@ -120,14 +120,15 @@ ENABLED = STATIC_PLUGIN endif # SDL Libs and Flags -SDLFLAGS := $(shell $(PSPBIN)/sdl-config --cflags) +SDLFLAGS := $(shell $(PSPBIN)/sdl-config --cflags) +SDLLIBS := $(shell $(PSPBIN)/sdl-config --libs) # PSP LIBS PSPLIBS = -lpspvfpu -lpspdebug -lpspgu -lpspge -lpspdisplay -lpspctrl -lpspsdk \ -lpsputility -lpspuser -lpsppower -lpsphprm -lpspsdk -lpsprtc -lpspaudio # Add in PSPSDK includes and libraries. CXXFLAGS += $(SDLFLAGS) -LIBS += -L$(PSPSDK)/../lib -L$(PSPSDK)/lib -lSDLmain -lSDL -lGL -lpng -lz -lstdc++ -lc -lm $(PSPLIBS) +LIBS += -lpng -lz -lstdc++ -lc $(SDLLIBS) $(PSPLIBS) OBJS := powerman.o \ psp_main.o \ |