From ae0c026fe9f5532e95e3d2e4dc87c0665b1c59f8 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 24 Jul 2021 09:15:01 +0000 Subject: Enable pthreads for new libraries Otherwise the lack of pthread causes linking to fail for NetBSD. --- src/libcmd/local.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcmd/local.mk') 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 -- cgit v1.2.3