Fix linking on AIX with gcc.

This commit is contained in:
Mark Adler 2022-10-10 11:00:49 -07:00
parent 29fd715fd0
commit 0091cb0281

2
configure vendored
View File

@ -252,6 +252,8 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
shared_ext='.sl' shared_ext='.sl'
SHAREDLIB='libz.sl' ;; SHAREDLIB='libz.sl' ;;
esac ;; esac ;;
AIX*)
LDFLAGS="${LDFLAGS} -Wl,-brtl" ;;
Darwin* | darwin* | *-darwin*) Darwin* | darwin* | *-darwin*)
shared_ext='.dylib' shared_ext='.dylib'
SHAREDLIB=libz$shared_ext SHAREDLIB=libz$shared_ext