fix libkvm dependency for *bsd
This commit is contained in:
1 parent
c045d33a40
commit
5e9797035b
2 files changed
+7
No files matched your search
@@ -43,6 +43,12 @@ else
|
||||
os = option_os
|
||||
endif
|
||||
|
||||
if os != 'Linux'
|
||||
kvm_dep = cc.find_library('kvm', required: true)
|
||||
else
|
||||
kvm_dep = []
|
||||
endif
|
||||
|
||||
pam_dep = dependency('pam', required: false)
|
||||
if not pam_dep.found()
|
||||
pam_dep = cc.find_library('pam', required: false)
|
||||
|
||||
@@ -24,6 +24,7 @@ rc_h = configure_file(input : 'rc.h.in', output : 'rc.h',
|
||||
configuration : rc_h_conf_data)
|
||||
|
||||
librc = library('rc', librc_sources,
|
||||
dependencies: kvm_dep,
|
||||
include_directories : [incdir, einfo_incdir],
|
||||
link_depends : 'rc.map',
|
||||
version : librc_version,
|
||||
|
||||
Reference in new issue
Block a user