Skip to content

Commit 9f6cb01

Browse files
committed
Fix build on GNU Hurd: kvm library is BSD only.
../meson.build:47:2: ERROR: C shared or static library 'kvm' not found
1 parent 179338c commit 9f6cb01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ else
4343
os = option_os
4444
endif
4545

46-
if os != 'Linux'
46+
if os == 'Dragonfly' or os == 'FreeBSD' or os == 'NetBSD' or os == 'OpenBSD'
4747
kvm_dep = cc.find_library('kvm', required: true)
4848
else
4949
kvm_dep = []

0 commit comments

Comments
 (0)