mirror of
https://github.com/facebook/zstd.git
synced 2024-11-23 09:16:44 +08:00
fixed single file library test
copy "zstd_errors.h" alongside "zstd.h" to pass compilation test.
This commit is contained in:
parent
d9553fd218
commit
adbb536d00
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user