meson: add version check for libseccomp
Compilation fails because of the missing arm64 bits with old seccomp versions.
This commit is contained in:
parent
1800cc8546
commit
9f0e9c0119
|
@ -626,6 +626,7 @@ libmount = dependency('mount',
|
||||||
want_seccomp = get_option('seccomp')
|
want_seccomp = get_option('seccomp')
|
||||||
if want_seccomp != 'false'
|
if want_seccomp != 'false'
|
||||||
libseccomp = dependency('libseccomp',
|
libseccomp = dependency('libseccomp',
|
||||||
|
version : '>= 2.3.1',
|
||||||
required : want_seccomp == 'true')
|
required : want_seccomp == 'true')
|
||||||
if libseccomp.found()
|
if libseccomp.found()
|
||||||
conf.set('HAVE_SECCOMP', 1)
|
conf.set('HAVE_SECCOMP', 1)
|
||||||
|
|
Loading…
Reference in New Issue