p11-kit 0.20.2 stopped linking on FreeBSD: gmake[3]: Entering directory `/usr/home/novel/code/p11-kit/p11-kit/tests' CCLD test-init test-init.o: In function `test_threaded_initialization': /home/novel/code/p11-kit/p11-kit/tests/test-init.c:254: undefined reference to `pthread_create' /home/novel/code/p11-kit/p11-kit/tests/test-init.c:266: undefined reference to `pthread_create' cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[3]: *** [test-init] Error 1 Looks like the reason is in commit 157941cbd75492b0c74ff21f95de3093cf6d4aca If I revert this commit, I can build again.
Created attachment 94969 [details] [review] configure.ac hack Surprisingly, if I s/pthread_mutexattr_init/pthread_create/, I get it working. I don't have an explanation for it yet.
Thanks. Committed and merged your patch.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.