]> git.sesse.net Git - ffmpeg/commitdiff
Print static vhook warning for Cygwin only when both are enabled
authorRamiro Polla <ramiro.polla@gmail.com>
Thu, 14 Jun 2007 16:39:44 +0000 (16:39 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Thu, 14 Jun 2007 16:39:44 +0000 (16:39 +0000)
Originally committed as revision 9310 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 018742efcbd2e435f3d24c9156de4c0cb65d6c14..5a5b8e1e04afd611be82960eb26150aec73300be 100755 (executable)
--- a/configure
+++ b/configure
@@ -1671,7 +1671,7 @@ test "$vhook" = "default" && vhook="$dlopen"
 
 enabled_any vhook liba52bin libfaadbin ffserver && add_extralibs $ldl
 
-if test "$targetos" = cygwin && enabled static ; then
+if test "$targetos" = cygwin && enabled_all static vhook ; then
     vhook="no"
     echo
     echo "At the moment vhooks don't work on Cygwin static builds."