Skip to content

Commit

Permalink
Merge pull request #9543 from NixOS/backport-9542-to-2.18-maintenance
Browse files Browse the repository at this point in the history
[Backport 2.18-maintenance] Add missing `-pthread` for test support libraries
  • Loading branch information
Ericson2314 authored Dec 6, 2023
2 parents 211b6e1 + 615bd65 commit 4a1c376
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 @@ -16,4 +16,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 @@ -14,4 +14,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 @@ -12,4 +12,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 4a1c376

Please sign in to comment.