[gs-commits] mupdf 1.16.1.13 Use USE_SYSTEM_FREETYPE/ZLIB variables in

[email protected] (Tor Andersson)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
commit ecea03d9260a689b388086396201733a66761b14
Author: Tor Andersson <[email protected]>
Date:   Thu Aug 15 14:53:23 2019 +0200

    Use USE_SYSTEM_FREETYPE/ZLIB variables in Java makefile.
    
    Avoid using the ugly hack of setting the Makethird paths to a bogus
    value to force them to be skipped.

diff --git a/platform/java/Makefile b/platform/java/Makefile
index 492a61d..45e7b65 100644
--- a/platform/java/Makefile
+++ b/platform/java/Makefile
@@ -31,7 +31,7 @@ default: $(MUPDF_JAVA) libmupdf.jar
 MUPDF_CORE := ../../build/java/libmupdf.a ../../build/java/libmupdf-third.a
 ifeq "$(OS)" "Linux"
 $(MUPDF_CORE) : .FORCE
-	$(MAKE) -C ../.. OUT=build/java XCFLAGS=-fPIC FREETYPE_DIR=/foo ZLIB_DIR=/foo libs
+	$(MAKE) -C ../.. OUT=build/java XCFLAGS=-fPIC USE_SYSTEM_FREETYPE=yes USE_SYSTEM_ZLIB=yes libs
 else
 $(MUPDF_CORE) : .FORCE
 	$(MAKE) -C ../.. OUT=build/java XCFLAGS=-fPIC libs

http://git.ghostscript.com/?p=mupdf.git;a=commit;h=ecea03d9260a689b388086396201733a66761b14

--
MuPDF library
Artifex Software, Inc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.