From dee3d4ae36be021ca7d488a82f3e02de7ef36c6c Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Tue, 1 May 2012 21:17:08 -0700 Subject: [PATCH] Force the native libtool in Mac OS X to avoid GNU libtool [Beebe]. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 0c97d7b..36c7d8e 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