summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2011-03-04 12:02:06 +0000
committerTor Andersson <tor@ghostscript.com>2011-03-04 12:02:06 +0000
commit9dee36047ab01f929582fa7b715af392f2de7d24 (patch)
tree8df353a4be4e2a9e4b5beaf3810e4ef1b13df594 /Makethird
parentef1b8d021bc9084f46ec0c29ed2c6a735655947a (diff)
downloadmupdf-9dee36047ab01f929582fa7b715af392f2de7d24.tar.xz
Fix include search path for Makethird so filt_dctd will find jconfig.h
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makethird b/Makethird
index eebd926e..863f86c1 100644
--- a/Makethird
+++ b/Makethird
@@ -82,7 +82,7 @@ endif
ifneq "$(jpeg_dir)" ""
THIRD_LIBS += $(JPEG_LIB)
-THIRD_INCS += -I$(jpeg_dir)
+THIRD_INCS += -I$(jpeg_dir) -I$(OBJDIR)
LIBS := $(filter-out -ljpeg, $(LIBS))
# jconfig.h does not exist in the pristine source
@@ -142,7 +142,7 @@ $(JPEG_OBJ): $(OBJDIR)/jconfig.h
$(JPEG_LIB): $(JPEG_OBJ)
$(AR_CMD)
$(OBJDIR)/jpeg_%.o: $(jpeg_dir)/%.c
- $(CC_CMD) -I$(OBJDIR) -Dmain=xxxmain
+ $(CC_CMD) -Dmain=xxxmain
endif