]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Added missing -pthread flag (was breaking on BSD)
authorCarl Woffenden <cwoffenden@gmail.com>
Fri, 3 Apr 2020 18:34:47 +0000 (20:34 +0200)
committerCarl Woffenden <cwoffenden@gmail.com>
Fri, 3 Apr 2020 18:34:47 +0000 (20:34 +0200)
contrib/single_file_decoder/build_library_test.sh

index d1d5dd0eb4f5b4e3c26787890a130978f25af4bc..3b8b16a058056f128fccad49f2a2895b2db7244d 100755 (executable)
@@ -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"