Enable pthreads for new libraries

Otherwise the lack of pthread causes linking to fail for NetBSD.
This commit is contained in:
Alyssa Ross
2021-07-24 09:15:01 +00:00
parent 97be92569c
commit ae0c026fe9
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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