mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
meson: acl_dep switch to dependency()
The pkg-config file to libacl was introduced in 2.2.53 release. Now that every supported distro ships at least this version, we can switch meson detection to dependency(). Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
97f0bd00b4
commit
63ca3e656c
@ -871,8 +871,7 @@ endif
|
|||||||
|
|
||||||
# generic build dependencies
|
# generic build dependencies
|
||||||
|
|
||||||
# FIXME rewrite to use dependency()
|
acl_dep = dependency('libacl', required: false)
|
||||||
acl_dep = cc.find_library('acl', required: false)
|
|
||||||
if acl_dep.found()
|
if acl_dep.found()
|
||||||
conf.set('WITH_LIBACL', 1)
|
conf.set('WITH_LIBACL', 1)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user