systemd: make libseccomp usage deterministic
authorJérôme Pouiller <jezz@sysmic.org>
Tue, 23 Sep 2014 09:45:45 +0000 (11:45 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 23 Sep 2014 18:20:28 +0000 (20:20 +0200)
[Thomas: fix minor typo in commit title.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/systemd.mk

index 39b458eb187807e08d8eb3bc8ae8e94753c52e01..c7cff0de697b2430a76da0c01f400df6df30e206 100644 (file)
@@ -76,6 +76,13 @@ else
 SYSTEMD_CONF_OPT += --disable-gudev
 endif
 
+ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
+SYSTEMD_CONF_OPT += --enable-seccomp
+SYSTEMD_DEPENDENCIES += libseccomp
+else
+SYSTEMD_CONF_OPT += --disable-seccomp
+endif
+
 ifeq ($(BR2_PACKAGE_SYSTEMD_ALL_EXTRAS),y)
 SYSTEMD_DEPENDENCIES += \
        xz              \