From 4581fdffac833bbcd8da333e66ab10af155cc5fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADctor=20Paesa?= <wzrlpy@arsystel.com>
Date: Sat, 15 Jul 2006 23:05:16 +0000
Subject: [PATCH] =?UTF-8?q?Cygwin=20shared=20libraries=20support,=20patch?=
 =?UTF-8?q?=20by=20V=C3=ADctor=20Paesa=20wzrlpy=20at=20arsystel=20com.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Originally committed as revision 5756 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure b/configure
index a8447cf1e32..f57f246501d 100755
--- 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)
 ;;
-- 
GitLab