aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMark Adler <fork@madler.net>2022-10-10 11:00:49 -0700
committerMark Adler <fork@madler.net>2022-10-10 11:00:49 -0700
commit0091cb02819dfd0bd83329831b68e4280ccbc5a4 (patch)
tree7d48db5daa664ae34363521b0aa61c72905ca62f /configure
parent29fd715fd0bdaffee21e2d2d37be8c5a6ac67ee4 (diff)
downloadzlib-0091cb02819dfd0bd83329831b68e4280ccbc5a4.tar.gz
zlib-0091cb02819dfd0bd83329831b68e4280ccbc5a4.tar.bz2
zlib-0091cb02819dfd0bd83329831b68e4280ccbc5a4.zip
Fix linking on AIX with gcc.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
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
252 shared_ext='.sl' 252 shared_ext='.sl'
253 SHAREDLIB='libz.sl' ;; 253 SHAREDLIB='libz.sl' ;;
254 esac ;; 254 esac ;;
255 AIX*)
256 LDFLAGS="${LDFLAGS} -Wl,-brtl" ;;
255 Darwin* | darwin* | *-darwin*) 257 Darwin* | darwin* | *-darwin*)
256 shared_ext='.dylib' 258 shared_ext='.dylib'
257 SHAREDLIB=libz$shared_ext 259 SHAREDLIB=libz$shared_ext