mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
Revert "meson: attr_dep switch to dependency()"
openSUSE Leap 15.{4,5} are supported under libvirt's distro support
statement, but they only contain attr version 2.4.47.
Reverts: dffeef89ef
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
00cd7d2b1a
commit
5f7f6ceb47
@ -901,7 +901,8 @@ if not get_option('apparmor_profiles').disabled()
|
||||
endif
|
||||
endif
|
||||
|
||||
attr_dep = dependency('libattr', required: get_option('attr'))
|
||||
# FIXME rewrite to use dependency() once we can use 2.4.48
|
||||
attr_dep = cc.find_library('attr', required: get_option('attr'))
|
||||
if attr_dep.found()
|
||||
conf.set('WITH_LIBATTR', 1)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user