James Kuszmaul | cf32412 | 2023-01-14 14:07:17 -0800 | [diff] [blame^] | 1 | From d4d045c843d4b4de747d800e570c32cff3759a80 Mon Sep 17 00:00:00 2001 |
| 2 | From: PJ Reiniger <pj.reiniger@gmail.com> |
| 3 | Date: Sat, 29 Oct 2022 12:16:36 -0400 |
| 4 | Subject: [PATCH 2/3] Update amalgamation script |
| 5 | |
| 6 | --- |
| 7 | tools/amalgamate.sh | 4 ++-- |
| 8 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 9 | |
| 10 | diff --git a/tools/amalgamate.sh b/tools/amalgamate.sh |
| 11 | index 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 |