summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-05-03 16:24:52 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-05-08 14:18:15 +0200
commit31de71cfe7e38e335da9503564ef499c405cc6f7 (patch)
treee3ab2d2ef6520a6ef528b401fea4df52d431a58e /Makefile
parent1306d1e7beabfabae77a0fbd426a0560375606ee (diff)
downloadmupdf-31de71cfe7e38e335da9503564ef499c405cc6f7.tar.xz
Make sure source text in pdf-js-util.js is zero terminated.
When using .incbin, we forgot to zero-terminate. Add a -0 option to the hexdump script.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index efd7d1f7..edbf5450 100644
--- a/Makefile
+++ b/Makefile
@@ -278,7 +278,7 @@ JAVASCRIPT_GEN := generated/pdf-js-util.c
JAVASCRIPT_OBJ := $(JAVASCRIPT_GEN:%.c=$(OUT)/%.o)
$(JAVASCRIPT_GEN) : $(JAVASCRIPT_SRC) | generated
- $(QUIET_GEN) $(HEXDUMP_EXE) $@ $(JAVASCRIPT_SRC)
+ $(QUIET_GEN) $(HEXDUMP_EXE) -0 $@ $(JAVASCRIPT_SRC)
ifneq "$(CROSSCOMPILE)" "yes"
$(JAVASCRIPT_GEN) : $(HEXDUMP_EXE)