ffplay.d needs SDL_CFLAGS
authorMåns Rullgård <mans@mansr.com>
Thu, 10 Apr 2008 22:34:37 +0000 (22:34 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 10 Apr 2008 22:34:37 +0000 (22:34 +0000)
Originally committed as revision 12787 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index 7f2a652..e64264e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,7 @@ output_example$(EXESUF): output_example.o $(FF_DEP_LIBS)
 tools/%$(EXESUF): tools/%.c
        $(CC) $(CFLAGS) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
 
 tools/%$(EXESUF): tools/%.c
        $(CC) $(CFLAGS) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
 
-ffplay.o: CFLAGS += $(SDL_CFLAGS)
+ffplay.o ffplay.d: CFLAGS += $(SDL_CFLAGS)
 
 VHOOKCFLAGS += $(filter-out -mdynamic-no-pic,$(CFLAGS))
 
 
 VHOOKCFLAGS += $(filter-out -mdynamic-no-pic,$(CFLAGS))