From: Carl Woffenden Date: Fri, 3 Apr 2020 18:34:47 +0000 (+0200) Subject: Added missing -pthread flag (was breaking on BSD) X-Git-Tag: v1.4.5^2~66^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0442be5aa48022339f83e51e668fe856f1eaf64e;p=thirdparty%2Fzstd.git Added missing -pthread flag (was breaking on BSD) --- diff --git a/contrib/single_file_decoder/build_library_test.sh b/contrib/single_file_decoder/build_library_test.sh index d1d5dd0eb..3b8b16a05 100755 --- a/contrib/single_file_decoder/build_library_test.sh +++ b/contrib/single_file_decoder/build_library_test.sh @@ -22,7 +22,7 @@ echo "Single file library creation script: PASSED" cp "$ZSTD_SRC_ROOT/zstd.h" zstd.h # 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? if [ $? -ne 0 ]; then echo "Compiling roundtrip.c: FAILED"