From: Yann Collet Date: Thu, 31 Oct 2024 21:38:36 +0000 (-0700) Subject: fixed single file library test X-Git-Tag: v1.5.7^2~67^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adbb536d00a1a67f2654040fd201760e2abfb20c;p=thirdparty%2Fzstd.git fixed single file library test copy "zstd_errors.h" alongside "zstd.h" to pass compilation test. --- diff --git a/build/single_file_libs/build_library_test.sh b/build/single_file_libs/build_library_test.sh index f4ba109ab..b67cd99a0 100755 --- a/build/single_file_libs/build_library_test.sh +++ b/build/single_file_libs/build_library_test.sh @@ -70,6 +70,7 @@ echo "Single file library creation script: PASSED" # Copy the header to here (for the tests) cp "$ZSTD_SRC_ROOT/zstd.h" examples/zstd.h +cp "$ZSTD_SRC_ROOT/zstd_errors.h" examples/zstd_errors.h # Compile the generated output cc -Wall -Wextra -Werror -Wshadow -pthread -I. -Os -g0 -o $OUT_FILE zstd.c examples/roundtrip.c