mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
meson: add util build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
57a521fcaf
commit
47dc175880
@ -121,8 +121,6 @@ LIBVIRT_CHECK_XDR
|
||||
LIBVIRT_CHECK_YAJL
|
||||
|
||||
|
||||
AC_CHECK_LIB([util],[openpty],[])
|
||||
|
||||
|
||||
dnl
|
||||
dnl Virtualization drivers check
|
||||
|
@ -1388,6 +1388,11 @@ if udev_dep.found()
|
||||
conf.set('WITH_UDEV', 1)
|
||||
endif
|
||||
|
||||
util_dep = cc.find_library('util', required: false)
|
||||
if util_dep.found()
|
||||
add_project_link_arguments('-lutil', language: 'c')
|
||||
endif
|
||||
|
||||
|
||||
# generic build dependencies checks
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user