meson: add version check for libseccomp

Compilation fails because of the missing arm64 bits with old seccomp versions.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-04-27 10:05:18 -04:00
parent 1800cc8546
commit 9f0e9c0119
1 changed files with 1 additions and 0 deletions

View 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)