Fix build on GNU Hurd: kvm library is BSD only.

../meson.build:47:2: ERROR: C shared or static library 'kvm' not found
This commit is contained in:
Mark Hindley 2022-07-25 10:03:49 +01:00
parent 179338c4d7
commit 9f6cb01f46

View File

@ -43,7 +43,7 @@ else
os = option_os
endif
if os != 'Linux'
if os == 'Dragonfly' or os == 'FreeBSD' or os == 'NetBSD' or os == 'OpenBSD'
kvm_dep = cc.find_library('kvm', required: true)
else
kvm_dep = []