blob: eabf1546f125ea8f6dd384259a3156cc19f4ae10 [file] [log] [blame]
James Kuszmaulcf324122023-01-14 14:07:17 -08001From d4d045c843d4b4de747d800e570c32cff3759a80 Mon Sep 17 00:00:00 2001
2From: PJ Reiniger <pj.reiniger@gmail.com>
3Date: Sat, 29 Oct 2022 12:16:36 -0400
4Subject: [PATCH 2/3] Update amalgamation script
5
6---
7 tools/amalgamate.sh | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10diff --git a/tools/amalgamate.sh b/tools/amalgamate.sh
11index 2e24e27..4dfe999 100755
12--- a/tools/amalgamate.sh
13+++ b/tools/amalgamate.sh
14@@ -74,8 +74,8 @@ echo -e "#endif\n" >> $HEADER
15
16 # assemble source
17 echo -e "#define MPACK_INTERNAL 1" >> $SOURCE
18-echo -e "#define MPACK_EMIT_INLINE_DEFS 1\n" >> $SOURCE
19-echo -e "#include \"mpack.h\"\n" >> $SOURCE
20+echo -e "#define MPACK_EMIT_INLINE_DEFS 0\n" >> $SOURCE
21+echo -e "#include \"wpi/mpack.h\"\n" >> $SOURCE
22 for f in $SOURCES; do
23 echo -e "\n/* $f.c */" >> $SOURCE
24 sed -e 's@^#include ".*@/* & */@' -e '0,/^ \*\/$/d' src/$f >> $SOURCE