Commit cd1b9f1
committed
tests : add pthread to test-wer for freebds
This commit adds pthread to the test-wer target for FreeBSD. This is
necessary to avoid the following error:
```console
[68%] Linking CXX executable ../bin/test-wer
ld: error: undefined reference due to --no-allow-shlib-undefined: pthread_create
>>> referenced by ../src/libwhisper.so.1.7.4
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [tests/CMakeFiles/test-wer.dir/build.make:106: bin/test-wer] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1421: tests/CMakeFiles/test-wer.dir/all] Error 2
```
Refs: https://github.com/ggerganov/whisper.cpp/actions/runs/14218829646/job/398417478191 parent 0a28600 commit cd1b9f1
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
91 | | - | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
0 commit comments