Merge pull request #9544 from NixOS/backport-9542-to-2.19-maintenance

[Backport 2.19-maintenance] Add missing `-pthread` for test support libraries
This commit is contained in:
John Ericson 2023-12-05 19:26:08 -05:00 committed by GitHub
commit 43d55dd15f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -20,4 +20,4 @@ libexpr-test-support_LIBS = \
libstore-test-support libutil-test-support \
libexpr libstore libutil
libexpr-test-support_LDFLAGS := -lrapidcheck
libexpr-test-support_LDFLAGS := -pthread -lrapidcheck

View File

@ -18,4 +18,4 @@ libstore-test-support_LIBS = \
libutil-test-support \
libstore libutil
libstore-test-support_LDFLAGS := -lrapidcheck
libstore-test-support_LDFLAGS := -pthread -lrapidcheck

View File

@ -16,4 +16,4 @@ libutil-test-support_CXXFLAGS += $(libutil-tests_EXTRA_INCLUDES)
libutil-test-support_LIBS = libutil
libutil-test-support_LDFLAGS := -lrapidcheck
libutil-test-support_LDFLAGS := -pthread -lrapidcheck