[FFmpeg-cvslog] build: fix library installation on cygwin

Yaakov Selkowitz git at videolan.org
Tue Aug 7 22:03:51 CEST 2012


ffmpeg | branch: master | Yaakov Selkowitz <yselkowitz at users.sourceforge.net> | Tue Aug  7 00:32:48 2012 +0100| [f5d2c597e99af218b0d4d1cf9737c7e68ee934e4] | committer: Mans Rullgard

build: fix library installation on cygwin

This installs libraries using the proper names and locations,
generates an import lib for the DLL, and drops no longer needed
linker flags.

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f5d2c597e99af218b0d4d1cf9737c7e68ee934e4
---

 configure |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 805f33e..e9058d4 100755
--- a/configure
+++ b/configure
@@ -2600,7 +2600,10 @@ case $target_os in
         SLIBSUF=".dll"
         SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)'
         SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)'
-        SHFLAGS='-shared -Wl,--enable-auto-image-base'
+        SLIB_INSTALL_NAME='$(SLIBNAME_WITH_MAJOR)'
+        SLIB_INSTALL_LINKS=
+        SLIB_INSTALL_EXTRA_LIB='lib$(FULLNAME).dll.a'
+        SHFLAGS='-shared -Wl,--out-implib,$(SUBDIR)lib$(FULLNAME).dll.a'
         objformat="win32"
         enable dos_paths
         check_cflags -fno-common



More information about the ffmpeg-cvslog mailing list