fixed single file library test

copy "zstd_errors.h" alongside "zstd.h" to pass compilation test.
This commit is contained in:
Yann Collet 2024-10-31 14:38:36 -07:00
parent d9553fd218
commit adbb536d00

View File

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