[libav-commits] build: disable ranlib on mingw

Mans Rullgard git at libav.org
Wed Sep 5 16:11:54 CEST 2012


Module: libav
Branch: master
Commit: a3222470de7b1440534a98d32e425ef9ea6e5384

Author:    Mans Rullgard <mans at mansr.com>
Committer: Martin Storsjö <martin at martin.st>
Date:      Tue Sep  4 15:20:45 2012 +0100

build: disable ranlib on mingw

Using ranlib is not required but prevents using the libraries with
msvc.

Signed-off-by: Mans Rullgard <mans at mansr.com>
Signed-off-by: Martin Storsjö <martin at martin.st>

---

 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 1d889d6..7f95acf 100755
--- a/configure
+++ b/configure
@@ -2707,6 +2707,7 @@ case $target_os in
         SHFLAGS='-shared -Wl,--output-def,$$(@:$(SLIBSUF)=.def) -Wl,--out-implib,$(SUBDIR)lib$(SLIBNAME:$(SLIBSUF)=.dll.a) -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base'
         objformat="win32"
         dlltool="${cross_prefix}dlltool"
+        ranlib=:
         enable dos_paths
         check_cflags -fno-common
         check_cpp_condition _mingw.h "defined (__MINGW64_VERSION_MAJOR) || (__MINGW32_MAJOR_VERSION > 3) \



More information about the libav-commits mailing list