Cygwin shared libraries support, patch by Víctor Paesa wzrlpy at arsystel com.
authorVíctor Paesa <wzrlpy@arsystel.com>
Sat, 15 Jul 2006 23:05:16 +0000 (23:05 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 15 Jul 2006 23:05:16 +0000 (23:05 +0000)
Originally committed as revision 5756 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index a8447cf..f57f246 100755 (executable)
--- a/configure
+++ b/configure
@@ -585,6 +585,7 @@ MINGW32*)
 mingw32="yes"
 ;;
 CYGWIN*)
+shlibdir='${PREFIX}/bin'
 v4l="no"
 v4l2="no"
 audio_oss="yes"
@@ -593,6 +594,11 @@ vhook="no"
 extralibs=""
 cygwin="yes"
 EXESUF=".exe"
+SLIBPREF="cyg"
+SLIBSUF=".dll"
+SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME)-$(LIBVERSION)$(SLIBSUF)'
+SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)'
+SHFLAGS='-shared -Wl,--out-implib=lib$(NAME).dll.a'
 ;;
 Linux)
 ;;