about summary refs log tree commit diff
path: root/src/libstore/local.mk
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-02-18T07·35-0500
committerShea Levy <shea@shealevy.com>2018-02-18T07·35-0500
commit690ac7c90b5bf3c599e210c53365c7d229c8b0ff (patch)
tree67269e9c7ac5cddb69dc8e1ea5e5687405807379 /src/libstore/local.mk
parent3a5a241b3209f14f8801b902ba20b5cb0666c9df (diff)
configure: Add a flag to disable seccomp.
This is needed for new arches where libseccomp support doesn't exist
yet.

Fixes #1878.
Diffstat (limited to 'src/libstore/local.mk')
-rw-r--r--src/libstore/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local.mk b/src/libstore/local.mk
index c7ac534e23..e11efa5c2b 100644
--- a/src/libstore/local.mk
+++ b/src/libstore/local.mk
@@ -25,7 +25,7 @@ ifeq ($(OS), SunOS)
 	libstore_LDFLAGS += -lsocket
 endif
 
-ifeq ($(OS), Linux)
+ifeq ($(HAVE_SECCOMP), 1)
 	libstore_LDFLAGS += -lseccomp
 endif