summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2018-07-16 16:24:48 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-08-10 14:09:46 +0200
commitd97b6bb79759db3a33f63792b235f1a161fa7a6b (patch)
tree2bf3f3656004cc8d832137631a2c27780e38b56d /Makerules
parent08e9dc67fd34f7dbcc5ce1ab877c3c42f9f75b05 (diff)
downloadmupdf-d97b6bb79759db3a33f63792b235f1a161fa7a6b.tar.xz
Tweak hexdumped data to increase build portability.
Follow bin2coff layout for hexdumped data instead of trying to emulate the objcopy layout (which seems to break for the android tools). Only use the basename of the resource in hexdump / bin2coff. Ifdef on HAVE_OBJCOPY instead of _WIN32.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 100c0d17..fc9bf998 100644
--- a/Makerules
+++ b/Makerules
@@ -86,6 +86,8 @@ else ifeq ($(OS),MACOS)
RANLIB = xcrun ranlib
else ifeq ($(OS),Linux)
+ HAVE_OBJCOPY := yes
+
ifeq ($(shell pkg-config --exists freetype2 && echo yes),yes)
SYS_FREETYPE_CFLAGS := $(shell pkg-config --cflags freetype2)
SYS_FREETYPE_LIBS := $(shell pkg-config --libs freetype2)