summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2012-05-01 21:17:08 -0700
committerMark Adler <madler@alumni.caltech.edu>2012-05-01 21:17:08 -0700
commitdee3d4ae36be021ca7d488a82f3e02de7ef36c6c (patch)
treedd5acaee80ba389bc098e06c2e228d6d9c7011ad /configure
parent4373bac37eab11b6140e8e1c99c4010335e8a473 (diff)
downloadzlib-dee3d4ae36be021ca7d488a82f3e02de7ef36c6c.tar.gz
Force the native libtool in Mac OS X to avoid GNU libtool [Beebe].
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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