meson: prefix kvm_dep, m_dep and util_dep with lib

We don't use the lib prefix for all libraries but in these cases it
makes sense to use the prefix.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Pavel Hrdina 2020-10-08 13:51:00 +02:00
parent b3e2ef408b
commit 4b98a703ee
3 changed files with 8 additions and 8 deletions

View File

@ -1066,9 +1066,9 @@ gnutls_dep = dependency('gnutls', version: '>=' + gnutls_version)
# Check for BSD kvm (kernel memory interface)
if host_machine.system() == 'freebsd'
kvm_dep = cc.find_library('kvm')
libkvm_dep = cc.find_library('kvm')
else
kvm_dep = dependency('', required: false)
libkvm_dep = dependency('', required: false)
endif
libiscsi_version = '1.18.0'
@ -1160,7 +1160,7 @@ endif
libxml_version = '2.9.1'
libxml_dep = dependency('libxml-2.0', version: '>=' + libxml_version)
m_dep = cc.find_library('m', required : false)
libm_dep = cc.find_library('m', required : false)
netcf_version = '0.1.8'
netcf_dep = dependency('netcf', version: '>=' + netcf_version, required: get_option('netcf'))
@ -1372,7 +1372,7 @@ if udev_dep.found()
conf.set('WITH_UDEV', 1)
endif
util_dep = cc.find_library('util', required: false)
libutil_dep = cc.find_library('util', required: false)
if host_machine.system() == 'windows'
ole32_dep = cc.find_library('ole32')

View File

@ -21,9 +21,9 @@ if conf.has('WITH_BHYVE')
],
dependencies: [
access_dep,
kvm_dep,
libkvm_dep,
libutil_dep,
src_dep,
util_dep,
],
include_directories: [
conf_inc_dir,

View File

@ -187,13 +187,13 @@ virt_util_lib = static_library(
devmapper_dep,
gnutls_dep,
intl_dep,
libm_dep,
libnl_dep,
m_dep,
libutil_dep,
numactl_dep,
secdriver_dep,
src_dep,
thread_dep,
util_dep,
win32_dep,
yajl_dep,
],