Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Commit 08b8f7a

Browse files
committed
build: only link with kvm on netbsd
This happened in libuv/libuv#1377
1 parent 463531c commit 08b8f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup_libuv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def build_extensions(self):
147147
elif sys.platform == 'darwin':
148148
self.compiler.define_macro('_DARWIN_USE_64_BIT_INODE', 1)
149149
self.compiler.define_macro('_DARWIN_UNLIMITED_SELECT', 1)
150-
elif sys.platform.startswith(('freebsd', 'dragonfly', 'openbsd', 'netbsd')):
150+
elif sys.platform.startswith('netbsd'):
151151
self.compiler.add_library('kvm')
152152
elif sys.platform.startswith('sunos'):
153153
self.compiler.define_macro('__EXTENSIONS__', 1)

0 commit comments

Comments
 (0)