From e6918187568dbd01842d8d1d2c808ce16a894239 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 21 Apr 2024 13:54:28 +0200 Subject: Adding upstream version 18.2.2. Signed-off-by: Daniel Baumann --- .../contrib/single_file_libs/create_single_file_library.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 src/zstd/contrib/single_file_libs/create_single_file_library.sh (limited to 'src/zstd/contrib/single_file_libs/create_single_file_library.sh') diff --git a/src/zstd/contrib/single_file_libs/create_single_file_library.sh b/src/zstd/contrib/single_file_libs/create_single_file_library.sh new file mode 100755 index 000000000..6f38526d5 --- /dev/null +++ b/src/zstd/contrib/single_file_libs/create_single_file_library.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +# Where to find the sources +ZSTD_SRC_ROOT="../../lib" + +# Amalgamate the sources +echo "Amalgamating files... this can take a while" +./combine.sh -r "$ZSTD_SRC_ROOT" -o zstd.c zstd-in.c +# Did combining work? +if [ $? -ne 0 ]; then + echo "Combine script: FAILED" + exit 1 +fi +echo "Combine script: PASSED" -- cgit v1.2.3