aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcmd/local.mk')
-rw-r--r--src/libcmd/local.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcmd/local.mk b/src/libcmd/local.mk
index ab0e0e43d..8b0662753 100644
--- a/src/libcmd/local.mk
+++ b/src/libcmd/local.mk
@@ -8,8 +8,8 @@ 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
-$(eval $(call install-file-in, $(d)/nix-cmd.pc, $(prefix)/lib/pkgconfig, 0644))
+$(eval $(call install-file-in, $(d)/nix-cmd.pc, $(libdir)/pkgconfig, 0644))