]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: add version check for libseccomp
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 27 Apr 2017 14:05:18 +0000 (10:05 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 27 Apr 2017 14:05:18 +0000 (10:05 -0400)
Compilation fails because of the missing arm64 bits with old seccomp versions.

meson.build

index c412aff91f23361cd8bd6c1c774587131d5538ec..d9dfe7fbd9483a9dfe50f4ef1c3f5e92768382f1 100644 (file)
@@ -626,6 +626,7 @@ libmount = dependency('mount',
 want_seccomp = get_option('seccomp')
 if want_seccomp != 'false'
         libseccomp = dependency('libseccomp',
+                                version : '>= 2.3.1',
                                 required : want_seccomp == 'true')
         if libseccomp.found()
                 conf.set('HAVE_SECCOMP', 1)