summaryrefslogtreecommitdiff
path: root/packages/zlib/1.2.11/0003-crossbuild-macos-libtool.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/zlib/1.2.11/0003-crossbuild-macos-libtool.patch')
-rw-r--r--packages/zlib/1.2.11/0003-crossbuild-macos-libtool.patch10
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/zlib/1.2.11/0003-crossbuild-macos-libtool.patch b/packages/zlib/1.2.11/0003-crossbuild-macos-libtool.patch
index e04f65d..3220a54 100644
--- a/packages/zlib/1.2.11/0003-crossbuild-macos-libtool.patch
+++ b/packages/zlib/1.2.11/0003-crossbuild-macos-libtool.patch
@@ -4,11 +4,13 @@ Date: Fri May 22 03:32:33 2020 +0200
configure: use LIBTOOL variable for Darwin builds
-diff --git a/configure b/configure
-index e974d1f..0c88bf9 100755
+---
+ configure | 10 ++++++++--
+ 1 file changed, 8 insertions(+), 2 deletions(-)
+
--- a/configure
+++ b/configure
-@@ -66,6 +66,12 @@ if "${CROSS_PREFIX}nm" --version >/dev/null 2>/dev/null || test $? -lt 126; then
+@@ -66,6 +66,12 @@
else
NM=${NM-"nm"}
fi
@@ -21,7 +23,7 @@ index e974d1f..0c88bf9 100755
# set defaults before processing command line options
LDCONFIG=${LDCONFIG-"ldconfig"}
-@@ -241,8 +247,8 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
+@@ -241,8 +247,8 @@
SHAREDLIBV=libz.$VER$shared_ext
SHAREDLIBM=libz.$VER1$shared_ext
LDSHARED=${LDSHARED-"$cc -dynamiclib -install_name $libdir/$SHAREDLIBM -compatibility_version $VER1 -current_version $VER3"}