Skip to content

Commit

Permalink
Merge pull request #9544 from NixOS/backport-9542-to-2.19-maintenance
Browse files Browse the repository at this point in the history
[Backport 2.19-maintenance] Add missing `-pthread` for test support libraries
  • Loading branch information
Ericson2314 authored Dec 6, 2023
2 parents aaeab00 + 45cde5a commit 43d55dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/unit/libexpr-support/local.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/unit/libstore-support/local.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ libstore-test-support_LIBS = \
libutil-test-support \
libstore libutil

libstore-test-support_LDFLAGS := -lrapidcheck
libstore-test-support_LDFLAGS := -pthread -lrapidcheck
2 changes: 1 addition & 1 deletion tests/unit/libutil-support/local.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 43d55dd

Please sign in to comment.