summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-11-17 14:44:51 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-11-17 14:47:31 +0100
commit74a8100804c8f18e1e2a71435b1e191df49e81fd (patch)
tree59a0bf26aa71d303b6c1997f7bb11644e525a32a /Makerules
parenta3979090efc4463e033b701089afa42312df7f6e (diff)
downloadmupdf-74a8100804c8f18e1e2a71435b1e191df49e81fd.tar.xz
Fix build if lcms2 is not present.
We NEED lcms2art (the artifex branch) and cannot build with stock lcms2. Disable ICC support if the lcms2 thirdparty library is not present.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules5
1 files changed, 0 insertions, 5 deletions
diff --git a/Makerules b/Makerules
index fc1375d2..5b475a9f 100644
--- a/Makerules
+++ b/Makerules
@@ -136,11 +136,6 @@ SYS_OPENJPEG_CFLAGS := $(shell pkg-config --cflags libopenjp2)
SYS_OPENJPEG_LIBS := $(shell pkg-config --libs libopenjp2)
endif
-ifeq "$(shell pkg-config --exists lcms2 && echo yes)" "yes"
-SYS_LCMS2_CFLAGS := $(shell pkg-config --cflags lcms2)
-SYS_LCMS2_LIBS := $(shell pkg-config --libs lcms2)
-endif
-
SYS_JBIG2DEC_LIBS := -ljbig2dec
SYS_LIBJPEG_LIBS := -ljpeg
SYS_ZLIB_LIBS := -lz