]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Force the native libtool in Mac OS X to avoid GNU libtool [Beebe].
authorMark Adler <madler@alumni.caltech.edu>
Wed, 2 May 2012 04:17:08 +0000 (21:17 -0700)
committerMark Adler <madler@alumni.caltech.edu>
Wed, 2 May 2012 04:17:08 +0000 (21:17 -0700)
configure

index 0c97d7b7aec32baa1c861e1309d2e97d4f81e82d..36c7d8ec2153fb8cf21134f7d17aeac88c1b5c6f 100755 (executable)
--- a/configure
+++ b/configure
@@ -231,7 +231,7 @@ if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) >> configure.log 2>&1; then
              SHAREDLIBV=libz.$VER$shared_ext
              SHAREDLIBM=libz.$VER1$shared_ext
              LDSHARED=${LDSHARED-"$cc -dynamiclib -install_name $libdir/$SHAREDLIBM -compatibility_version $VER1 -current_version $VER3"}
-             AR="libtool"
+             AR="/usr/bin/libtool"
              ARFLAGS="-o" ;;
   *)             LDSHARED=${LDSHARED-"$cc -shared"} ;;
   esac