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 c412aff..d9dfe7f 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)