Print static vhook warning for Cygwin and MinGW
authorRamiro Polla <ramiro.polla@gmail.com>
Thu, 14 Jun 2007 16:40:55 +0000 (16:40 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Thu, 14 Jun 2007 16:40:55 +0000 (16:40 +0000)
Originally committed as revision 9311 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 5a5b8e1e04afd611be82960eb26150aec73300be..119320e76d83b1d6134b199ac0ca799b04e0ab19 100755 (executable)
--- a/configure
+++ b/configure
@@ -1671,10 +1671,10 @@ test "$vhook" = "default" && vhook="$dlopen"
 
 enabled_any vhook liba52bin libfaadbin ffserver && add_extralibs $ldl
 
-if test "$targetos" = cygwin && enabled_all static vhook ; then
+if test "$targetos" = cygwin -o "$targetos" = mingw32 && enabled_all static vhook ; then
     vhook="no"
     echo
-    echo "At the moment vhooks don't work on Cygwin static builds."
+    echo "At the moment vhooks don't work on Cygwin or MinGW static builds."
     echo "Patches welcome."
     echo
 fi