33 lines
803 B
Diff
33 lines
803 B
Diff
|
From 8eea53dd45265d8cb92bfdb161a425a1668c10c0 Mon Sep 17 00:00:00 2001
|
||
|
From: Michael Scherer <misc@zarb.org>
|
||
|
Date: Thu, 20 Feb 2014 16:07:08 +0100
|
||
|
Subject: [PATCH] build-sys: Fix compilation of nspawn when seccomp is not
|
||
|
enabled
|
||
|
|
||
|
---
|
||
|
Makefile.am | 6 +++++-
|
||
|
1 files changed, 5 insertions(+), 1 deletions(-)
|
||
|
|
||
|
diff --git Makefile.am Makefile.am
|
||
|
index 85d51b4..56cdb85 100644
|
||
|
--- Makefile.am
|
||
|
+++ Makefile.am
|
||
|
@@ -1882,9 +1882,13 @@ systemd_nspawn_LDADD = \
|
||
|
libsystemd-capability.la \
|
||
|
libsystemd-internal.la \
|
||
|
libudev-internal.la \
|
||
|
- libsystemd-shared.la \
|
||
|
+ libsystemd-shared.la
|
||
|
+
|
||
|
+if HAVE_SECCOMP
|
||
|
+systemd_nspawn_LDADD += \
|
||
|
libsystemd-seccomp.la \
|
||
|
$(SECCOMP_LIBS)
|
||
|
+endif
|
||
|
|
||
|
# ------------------------------------------------------------------------------
|
||
|
systemd_run_SOURCES = \
|
||
|
--
|
||
|
1.7.7
|
||
|
|