Several build systems / existing scripts assume that pthread functions are exposed through separate library (`libpthread.so` / `libpthread.a`) and thus use `-lpthread` flag explicitly. Since llvm-libc puts all the pthread functions into the regular `libc`, teach the CMake build rules to produce an empty static archive `libpthread.a` for compatibility purposes. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||