]> git.pld-linux.org Git - packages/ghostscript.git/blame - ghostscript-zlib.patch
BR: openjpeg2-devel when building with system openjpeg2
[packages/ghostscript.git] / ghostscript-zlib.patch
CommitLineData
25abab3c
JB
1--- ghostscript-9.54.0/configure.ac.orig 2021-04-25 20:45:17.498439464 +0200
2+++ ghostscript-9.54.0/configure.ac 2021-04-25 20:46:23.098488486 +0200
3@@ -1403,7 +1403,7 @@ AC_MSG_CHECKING([for local zlib source])
e6245de9
AO
4 dnl zlib is needed for language level 3, and libpng
5 # we must define ZLIBDIR regardless because png.mak does a -I$(ZLIBDIR)
6 # this seems a harmless default
7-ZLIBDIR=src
8+ZLIBDIR=$includedir
9 AUX_SHARED_ZLIB=
25abab3c 10 ZLIBCFLAGS=""
e6245de9 11
25abab3c 12@@ -1434,6 +1434,8 @@ if test -z "$SHARE_ZLIB"; then
2c8a958b
AM
13 local directory named 'zlib'. See http://www.gzip.org/zlib/
14 for more information.
15 ])
16+else
17+ LIBS="$LIBS -lz"
18 fi
19
20 dnl if GS is to use the system zlib, freetype
This page took 0.050458 seconds and 4 git commands to generate.