about summary refs log tree commit diff
path: root/src/libstore/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2016-12-15T11·04+0100
committerEelco Dolstra <edolstra@gmail.com>2016-12-15T11·04+0100
commit9f3f2e21edb17dbcd674539dff96efb6cceca10c (patch)
tree8d687ca67b4729a91e32792bec3d8f35cda07ab8 /src/libstore/local.mk
parent47f587700d646f5b03a42f2fa57c28875a31efbe (diff)
parent4e1a2cd537b5b910937499c544043ddac291843e (diff)
Merge branch 'seccomp' of https://github.com/aszlig/nix
Diffstat (limited to 'src/libstore/local.mk')
-rw-r--r--src/libstore/local.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/local.mk b/src/libstore/local.mk
index 9d5c04dca0c5..a8222025cf7e 100644
--- a/src/libstore/local.mk
+++ b/src/libstore/local.mk
@@ -18,6 +18,10 @@ ifeq ($(OS), SunOS)
 	libstore_LDFLAGS += -lsocket
 endif
 
+ifeq ($(OS), Linux)
+	libstore_LDFLAGS += -lseccomp
+endif
+
 libstore_CXXFLAGS = \
  -DNIX_PREFIX=\"$(prefix)\" \
  -DNIX_STORE_DIR=\"$(storedir)\" \