From 9ad9840545afcbf4d79d260525a2fea9af58e63f Mon Sep 17 00:00:00 2001 From: Couriersud Date: Sat, 26 Mar 2011 22:53:01 +0000 Subject: [PATCH] sdl-config flags are now separated into INCFLAGS and COMFLAGS in sdl.mak. This fixes "make depend". [Couriersud] --- src/osd/sdl/sdl.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osd/sdl/sdl.mak b/src/osd/sdl/sdl.mak index 25e3367e375..3376f0e1e10 100644 --- a/src/osd/sdl/sdl.mak +++ b/src/osd/sdl/sdl.mak @@ -364,7 +364,8 @@ else # FIXME: remove the directfb ref. later. This is just there for now to work around an issue with SDL1.3. INCPATH += -I$(SDL_INSTALL_ROOT)/include/directfb -INCPATH += `$(SDL_INSTALL_ROOT)/bin/sdl-config --cflags | sed 's:/SDL::'` +INCPATH += `$(SDL_INSTALL_ROOT)/bin/sdl-config --cflags | sed -e 's:/SDL::' -e 's:\(-D[^ ]*\)::g'` +CCOMFLAGS += `$(SDL_INSTALL_ROOT)/bin/sdl-config --cflags | sed -e 's:/SDL::' -e 's:\(-I[^ ]*\)::g'` LIBS += -lm `$(SDL_INSTALL_ROOT)/bin/sdl-config --libs` endif