Vhooks require special cflags and ldflags for Windows builds
authorRamiro Polla <ramiro.polla@gmail.com>
Thu, 14 Jun 2007 16:48:09 +0000 (16:48 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Thu, 14 Jun 2007 16:48:09 +0000 (16:48 +0000)
Copy them from Cygwin to MinGW

Originally committed as revision 9313 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 1b3b114..d513ae2 100755 (executable)
--- a/configure
+++ b/configure
@@ -1168,6 +1168,8 @@ case $targetos in
     targetos=mingw32
     shlibdir="$bindir"
     dv1394="no"
+    VHOOKSHFLAGS='-shared -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libswscale -L$(BUILD_ROOT)/libavutil'
+    VHOOKLIBS='-lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lswscale$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)'
     ffserver="no"
     network="no"
     SLIBPREF=""