From: Michael Scherer Date: Thu, 20 Feb 2014 15:07:08 +0000 (+0100) Subject: build-sys: Fix compilation of nspawn when seccomp is not enabled X-Git-Tag: v210~99 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=8eea53dd45265d8cb92bfdb161a425a1668c10c0;ds=sidebyside build-sys: Fix compilation of nspawn when seccomp is not enabled --- diff --git a/Makefile.am b/Makefile.am index 85d51b4a9..56cdb8568 100644 --- a/Makefile.am +++ b/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 = \