From 31de71cfe7e38e335da9503564ef499c405cc6f7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 3 May 2017 16:24:52 +0200 Subject: 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3