summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
authorWouter van Kesteren <woutershep@gmail.com>2012-11-06 22:53:44 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-11-16 14:05:07 +0100
commitcb381546e5fb73110f09e0720645e3db34a03f98 (patch)
treee2d4c74bf517def02ae720984516411cce91501c /Makethird
parentfc3fb00dc71b796bb28c0ef7957f1ef630033516 (diff)
downloadmupdf-cb381546e5fb73110f09e0720645e3db34a03f98.tar.xz
Fix build with openjpeg-1.5.1
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makethird b/Makethird
index 5745763c..1646d965 100644
--- a/Makethird
+++ b/Makethird
@@ -217,6 +217,8 @@ OPENJPEG_SRC := \
$(OPENJPEG_LIB): $(addprefix $(OUT)/opj_, $(OPENJPEG_SRC:%.c=%.o))
$(OUT)/opj_%.o: $(OPENJPEG_DIR)/libopenjpeg/%.c | $(OUT)
$(CC_CMD) -DOPJ_STATIC
+else
+CFLAGS += $(SYS_OPENJPEG_INC)
endif
# --- ZLIB ---