mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
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')
|
||||
if want_seccomp != 'false'
|
||||
libseccomp = dependency('libseccomp',
|
||||
version : '>= 2.3.1',
|
||||
required : want_seccomp == 'true')
|
||||
if libseccomp.found()
|
||||
conf.set('HAVE_SECCOMP', 1)
|
||||
|
Loading…
Reference in New Issue
Block a user