mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
fixed single file library test
copy "zstd_errors.h" alongside "zstd.h" to pass compilation test.
This commit is contained in:
@ -70,6 +70,7 @@ echo "Single file library creation script: PASSED"
|
|||||||
|
|
||||||
# Copy the header to here (for the tests)
|
# Copy the header to here (for the tests)
|
||||||
cp "$ZSTD_SRC_ROOT/zstd.h" examples/zstd.h
|
cp "$ZSTD_SRC_ROOT/zstd.h" examples/zstd.h
|
||||||
|
cp "$ZSTD_SRC_ROOT/zstd_errors.h" examples/zstd_errors.h
|
||||||
|
|
||||||
# Compile the generated output
|
# Compile the generated output
|
||||||
cc -Wall -Wextra -Werror -Wshadow -pthread -I. -Os -g0 -o $OUT_FILE zstd.c examples/roundtrip.c
|
cc -Wall -Wextra -Werror -Wshadow -pthread -I. -Os -g0 -o $OUT_FILE zstd.c examples/roundtrip.c
|
||||||
|
Reference in New Issue
Block a user