aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd
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/libcmd
parent97be92569ca8294a8bc0977cb59ce7dcbdbc6c36 (diff)
Enable pthreads for new libraries
Otherwise the lack of pthread causes linking to fail for NetBSD.
Diffstat (limited to 'src/libcmd')
-rw-r--r--src/libcmd/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/local.mk b/src/libcmd/local.mk
index ab0e0e43d..431d8ec06 100644
--- a/src/libcmd/local.mk
+++ b/src/libcmd/local.mk
@@ -8,7 +8,7 @@ libcmd_SOURCES := $(wildcard $(d)/*.cc)
libcmd_CXXFLAGS += -I src/libutil -I src/libstore -I src/libexpr -I src/libmain -I src/libfetchers
-libcmd_LDFLAGS = -llowdown
+libcmd_LDFLAGS = -llowdown -pthread
libcmd_LIBS = libstore libutil libexpr libmain libfetchers