Skip to content

Commit

Permalink
Add missing -pthread for test support libraries
Browse files Browse the repository at this point in the history
This is good in general (see how the other libraries also have long had
it, since 49fe959) but in particular
needed to fix the NetBSD build.

(cherry picked from commit b23273f)
  • Loading branch information
Ericson2314 authored and github-actions[bot] committed Dec 5, 2023
1 parent 211b6e1 commit 615bd65
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 615bd65

Please sign in to comment.