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

Commit

Permalink
build: only link with kvm on netbsd
Browse files Browse the repository at this point in the history
This happened in libuv/libuv#1377
  • Loading branch information
saghul committed Jul 8, 2017
1 parent 463531c commit 08b8f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_libuv.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def build_extensions(self):
elif sys.platform == 'darwin':
self.compiler.define_macro('_DARWIN_USE_64_BIT_INODE', 1)
self.compiler.define_macro('_DARWIN_UNLIMITED_SELECT', 1)
elif sys.platform.startswith(('freebsd', 'dragonfly', 'openbsd', 'netbsd')):
elif sys.platform.startswith('netbsd'):
self.compiler.add_library('kvm')
elif sys.platform.startswith('sunos'):
self.compiler.define_macro('__EXTENSIONS__', 1)
Expand Down

0 comments on commit 08b8f7a

Please sign in to comment.