/ scripts / build-extras / zlib.sh
zlib.sh
1  if [ "$1" = "args" ]; then
2      echo " ZLIB=1 -- link with zlib"
3  elif [ "$1" = "deps" ]; then
4      if [ "$ZLIB" = "1" ]; then
5  	LIBS="$LIBS -lz"
6  	CPPFLAGS="$CPPFLAGS -DHAVE_ZLIB"
7      fi
8  fi