vhooks really need libav* even if they compile fine without on Linux.
authorDiego Biurrun <diego@biurrun.de>
Mon, 10 Mar 2008 18:37:18 +0000 (18:37 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 10 Mar 2008 18:37:18 +0000 (18:37 +0000)
Originally committed as revision 12409 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index 92141e2..1732042 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -121,7 +121,8 @@ ffplay.o: CFLAGS += $(SDL_CFLAGS)
 
 ffmpeg.o ffplay.o ffserver.o: version.h
 
-videohook: $(HOOKS)
+# vhooks compile fine without libav*, but need them nonetheless.
+videohook: .libs $(HOOKS)
 
 vhook/%$(SLIBSUF): vhook/%.o
        $(CC) $(LDFLAGS) -o $@ $(VHOOKSHFLAGS) $< $(VHOOKLIBS) $(LIBS_$(@F))