Added missing -pthread flag (was breaking on BSD)
This commit is contained in:
@@ -22,7 +22,7 @@ echo "Single file library creation script: PASSED"
|
|||||||
cp "$ZSTD_SRC_ROOT/zstd.h" zstd.h
|
cp "$ZSTD_SRC_ROOT/zstd.h" zstd.h
|
||||||
|
|
||||||
# Compile the generated output
|
# Compile the generated output
|
||||||
cc -Wall -Wextra -Werror -I. -Os -g0 -o $OUT_FILE zstd.c examples/roundtrip.c
|
cc -Wall -Wextra -Werror -pthread -I. -Os -g0 -o $OUT_FILE zstd.c examples/roundtrip.c
|
||||||
# Did compilation work?
|
# Did compilation work?
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Compiling roundtrip.c: FAILED"
|
echo "Compiling roundtrip.c: FAILED"
|
||||||
|
|||||||
Reference in New Issue
Block a user