From 3d7155bd62efeba2c8323d47bb4ace46aa2ec73f Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Tue, 24 Nov 2009 12:10:39 +0000 Subject: fix building via Makefile svn-id: r46123 --- backends/platform/psp/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'backends') 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 \ -- cgit v1.2.3