diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-12-05 18:10:37 -0500 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-12-05 23:44:41 +0000 |
commit | 615bd655e51880054e349ae9a2dc099773df1a07 (patch) | |
tree | d3f7f229e0729a56f67f2ba8c6e923fcfd885fbf | |
parent | 211b6e18556e03829ae7bba38c7272af2900a2e8 (diff) |
Add missing `-pthread` for test support libraries
This is good in general (see how the other libraries also have long had
it, since 49fe9592a47e7819179c2de4fd6068e897e944c7) but in particular
needed to fix the NetBSD build.
(cherry picked from commit b23273f6a29c725646b3523b1c35a0ae4a84ef61)
-rw-r--r-- | tests/unit/libexpr-support/local.mk | 2 | ||||
-rw-r--r-- | tests/unit/libstore-support/local.mk | 2 | ||||
-rw-r--r-- | tests/unit/libutil-support/local.mk | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/libexpr-support/local.mk b/tests/unit/libexpr-support/local.mk index 6b3ad64ee..ce0d9950c 100644 --- a/tests/unit/libexpr-support/local.mk +++ b/tests/unit/libexpr-support/local.mk @@ -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 diff --git a/tests/unit/libstore-support/local.mk b/tests/unit/libstore-support/local.mk index 2738278d8..59c3e09ca 100644 --- a/tests/unit/libstore-support/local.mk +++ b/tests/unit/libstore-support/local.mk @@ -14,4 +14,4 @@ libstore-test-support_LIBS = \ libutil-test-support \ libstore libutil -libstore-test-support_LDFLAGS := -lrapidcheck +libstore-test-support_LDFLAGS := -pthread -lrapidcheck diff --git a/tests/unit/libutil-support/local.mk b/tests/unit/libutil-support/local.mk index d085eda4e..b4c8f2475 100644 --- a/tests/unit/libutil-support/local.mk +++ b/tests/unit/libutil-support/local.mk @@ -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 |