From: Mika Lindqvist Date: Sat, 21 Jan 2023 22:59:08 +0000 (+0200) Subject: Add support for symbol prefix to linker definition files. X-Git-Tag: 2.1.0-beta1~89 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ff2b9bfca3ca757936695710022a3fe119951dc;p=thirdparty%2Fzlib-ng.git Add support for symbol prefix to linker definition files. --- diff --git a/configure b/configure index 3879134b..fa751b84 100755 --- a/configure +++ b/configure @@ -857,6 +857,11 @@ if test $compat -eq 1; then esac fi +if [[ ! -z $DEFFILE ]]; then + mkdir -p win32 + sed < $SRCDIR/$DEFFILE.in "s/@ZLIB_SYMBOL_PREFIX@/$symbol_prefix/g" > $DEFFILE +fi + # if --gzfileops was requested if test $gzfileops -eq 1; then CFLAGS="${CFLAGS} -DWITH_GZFILEOP"