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

This commit is contained in:
W. Felix Handte committed 2020-05-04 15:20:26 -04:00
1 parent 7b75d772b1
commit b48f6c7d26
5 files changed
+63 -54

No files matched your search

@@ -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"