summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2014-05-13 15:16:59 +0100
committerTor Andersson <tor.andersson@artifex.com>2014-05-19 15:17:07 +0200
commit6a8abce9603f69b57e407f0df4044be919f507d7 (patch)
tree27b375d3e99ae1f2c23f8d893f9198a71a771a57 /Makethird
parent5faaa444cb08a19eb9eb932010bb70cb3e3423f4 (diff)
downloadmupdf-6a8abce9603f69b57e407f0df4044be919f507d7.tar.xz
Add an application agnostic memory handler for libjpeg
This adds a custom memory management layer between libjpeg and the calling app - in such a way that the code can be shared between mupdf and Ghostscript/PDL.
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makethird b/Makethird
index 73638699..10f3e23b 100644
--- a/Makethird
+++ b/Makethird
@@ -202,7 +202,6 @@ JPEG_SRC := \
jidctfst.c \
jidctint.c \
jmemmgr.c \
- jmemnobs.c \
jquant1.c \
jquant2.c \
jutils.c \
@@ -215,7 +214,7 @@ $(JPEG_OUT)/%.o: $(JPEG_DIR)/%.c | $(JPEG_OUT)
JPEG_CFLAGS := -Iscripts/jpeg -I$(JPEG_DIR)
else
-JPEG_CFLAGS := $(SYS_JPEG_CFLAGS)
+JPEG_CFLAGS := $(SYS_JPEG_CFLAGS) -DSHARE_JPEG
JPEG_LIBS := $(SYS_JPEG_LIBS)
endif