aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-07-24 09:15:01 +0000
committerAlyssa Ross <hi@alyssa.is>2021-07-24 09:15:01 +0000
commitae0c026fe9f5532e95e3d2e4dc87c0665b1c59f8 (patch)
tree99a697edaf3c881349b9ba57b934a08ff503ddb3 /src/libfetchers
parent97be92569ca8294a8bc0977cb59ce7dcbdbc6c36 (diff)
Enable pthreads for new libraries
Otherwise the lack of pthread causes linking to fail for NetBSD.
Diffstat (limited to 'src/libfetchers')
-rw-r--r--src/libfetchers/local.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libfetchers/local.mk b/src/libfetchers/local.mk
index cfd705e22..bbef03afe 100644
--- a/src/libfetchers/local.mk
+++ b/src/libfetchers/local.mk
@@ -8,4 +8,6 @@ libfetchers_SOURCES := $(wildcard $(d)/*.cc)
libfetchers_CXXFLAGS += -I src/libutil -I src/libstore
+libfetchers_LDFLAGS = -pthread
+
libfetchers_LIBS = libutil libstore