]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed single file library test
authorYann Collet <cyan@fb.com>
Thu, 31 Oct 2024 21:38:36 +0000 (14:38 -0700)
committerYann Collet <cyan@fb.com>
Thu, 31 Oct 2024 21:38:36 +0000 (14:38 -0700)
copy "zstd_errors.h" alongside "zstd.h" to pass compilation test.

build/single_file_libs/build_library_test.sh

index f4ba109ab38decc0fe6fa38ba25ec3981b3f3acc..b67cd99a0f2e63df9f750873844c9bef786c2150 100755 (executable)
@@ -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