mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-19 19:52:15 +02:00
7b14dae436
HAVE_ZLIB is defined. In scripts/build-extras/zlib.sh, define HAVE_ZLIB when running build script with ZLIB=1.
9 lines
186 B
Bash
9 lines
186 B
Bash
if [ "$1" = "args" ]; then
|
|
echo " ZLIB=1 -- link with zlib"
|
|
elif [ "$1" = "deps" ]; then
|
|
if [ "$ZLIB" = "1" ]; then
|
|
LIBS="$LIBS -lz"
|
|
CPPFLAGS="$CPPFLAGS -DHAVE_ZLIB"
|
|
fi
|
|
fi
|