diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2007-08-11 19:51:37 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2007-08-11 19:51:37 +0000 |
commit | 70b4d4929430be9ed6c4eb1ebd1b661327ce04ea (patch) | |
tree | 7d8bb30820a2146be2ad4ca7df7bab5cc4f854ef /configure | |
parent | 68bf8d83c5dcafe50f775dd1bf110928bf986645 (diff) | |
download | ffmpeg-70b4d4929430be9ed6c4eb1ebd1b661327ce04ea.tar.gz |
Enable swscale in MinGW vhooks only if swscale was configured.
Copied from Cygwin configure.
Originally committed as revision 10073 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1163,8 +1163,12 @@ 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)' + VHOOKSHFLAGS='-shared -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil' + VHOOKLIBS='-lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)' + if enabled swscaler; then + VHOOKSHFLAGS="$VHOOKSHFLAGS -L\$(BUILD_ROOT)/libswscale" + VHOOKLIBS="$VHOOKLIBS -lswscale\$(BUILDSUF)" + fi ffserver="no" network="no" SLIBPREF="" |