about summary refs log tree commit diff
path: root/src/nix/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/local.mk')
-rw-r--r--src/nix/local.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix/local.mk b/src/nix/local.mk
index bddd53b168d3..f76da194467c 100644
--- a/src/nix/local.mk
+++ b/src/nix/local.mk
@@ -6,4 +6,6 @@ nix_SOURCES := $(wildcard $(d)/*.cc) $(wildcard src/linenoise/*.cpp)
 
 nix_LIBS = libexpr libmain libstore libutil libformat
 
+nix_LDFLAGS = -pthread
+
 $(eval $(call install-symlink, nix, $(bindir)/nix-hash))