meson: add version check for libseccomp
Compilation fails because of the missing arm64 bits with old seccomp versions.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user