build-sys: Fix compilation of nspawn when seccomp is not enabled

This commit is contained in:
Michael Scherer 2014-02-20 16:07:08 +01:00 committed by Lennart Poettering
parent 6633045578
commit 8eea53dd45

View file

@ -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 = \