about summary refs log tree commit diff
path: root/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'local.mk')
-rw-r--r--local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/local.mk b/local.mk
index 6361e1872b96..cb628fac6022 100644
--- a/local.mk
+++ b/local.mk
@@ -5,6 +5,7 @@ endif
 dist-files += configure config.h.in nix.spec
 
 GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr
+GLOBAL_LDFLAGS += -pthread
 
 $(foreach i, config.h $(call rwildcard, src/lib*, *.hh), $(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))