summaryrefslogtreecommitdiff
path: root/Makethird
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 /Makethird
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 'Makethird')
-rw-r--r--Makethird3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makethird b/Makethird
index 38d6d7cf..53ad3ba7 100644
--- a/Makethird
+++ b/Makethird
@@ -575,8 +575,7 @@ $(LCMS2_OUT)/%.o: $(LCMS2_DIR)/src/%.c | $(LCMS2_OUT)
LCMS2_CFLAGS := -I$(LCMS2_DIR)/include
else
-LCMS2_CFLAGS := $(SYS_LCMS2_CFLAGS)
-LCMS2_LIBS := $(SYS_LCMS2_LIBS)
+LCMS2_CFLAGS := -DNO_ICC
endif
# --- cURL ---