Enable build of shared library on AIX.

This commit is contained in:
Aleksei Shpakovskii 2022-10-26 17:34:20 +02:00 committed by Mark Adler
parent f56ad0aafa
commit 04ca30003f

1
configure vendored
View File

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