Try to Fix Single File Library Combiner Script to Handle Relative Includes

This commit is contained in:
W. Felix Handte
2020-05-04 15:20:26 -04:00
parent 7b75d772b1
commit b48f6c7d26
5 changed files with 63 additions and 54 deletions
@@ -5,7 +5,7 @@ ZSTD_SRC_ROOT="../../lib"
# Amalgamate the sources
echo "Amalgamating files... this can take a while"
./combine.sh -r "$ZSTD_SRC_ROOT" -r "$ZSTD_SRC_ROOT/common" -r "$ZSTD_SRC_ROOT/decompress" -o zstddeclib.c zstddeclib-in.c
./combine.sh -r "$ZSTD_SRC_ROOT" -o zstddeclib.c zstddeclib-in.c
# Did combining work?
if [ $? -ne 0 ]; then
echo "Combine script: FAILED"