From: Mark Adler Date: Wed, 2 May 2012 04:17:08 +0000 (-0700) Subject: Force the native libtool in Mac OS X to avoid GNU libtool [Beebe]. X-Git-Tag: v1.2.7~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dee3d4ae36be021ca7d488a82f3e02de7ef36c6c;p=thirdparty%2Fzlib-ng.git Force the native libtool in Mac OS X to avoid GNU libtool [Beebe]. --- diff --git a/configure b/configure index 0c97d7b7a..36c7d8ec2 100755 --- 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