chiark / gitweb /
build-sys: don't use -Wcast-align anymore
[elogind.git] / Makefile.am
index 85d51b4a96e8da21db0b209f0559424fd323ddfd..56cdb85684919ace3fda03908afc8917e0f7de07 100644 (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 = \