From 0091cb02819dfd0bd83329831b68e4280ccbc5a4 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Mon, 10 Oct 2022 11:00:49 -0700 Subject: [PATCH] Fix linking on AIX with gcc. --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index aa872ec..c487270 100755 --- a/configure +++ b/configure @@ -252,6 +252,8 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then shared_ext='.sl' SHAREDLIB='libz.sl' ;; esac ;; + AIX*) + LDFLAGS="${LDFLAGS} -Wl,-brtl" ;; Darwin* | darwin* | *-darwin*) shared_ext='.dylib' SHAREDLIB=libz$shared_ext