[libc-commits] [libc] [libc][test] adds LINK_LIBRARIES pthread to pthreads test cmake (PR #89262)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Thu Apr 18 13:32:57 PDT 2024


michaelrj-google wrote:

This shouldn't be necessary, since `-lpthread` just tells the compiler to link in the system's pthread library. If this test is actually using our library it shouldn't have any effect since we don't build a separate `libpthread`. Maybe try cleaning your build directory (with `rm -r build/projects/libc`) and rebuilding?

https://github.com/llvm/llvm-project/pull/89262


More information about the libc-commits mailing list