Include kstat lib for solaris

This commit is contained in:
Peter Cooner 2016-08-23 07:51:26 -04:00 committed by Yury Selivanov
parent ebf6f0b949
commit 7d5c37832f
1 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,8 @@ class libuv_build_ext(build_ext):
self.compiler.add_library('rt')
elif sys.platform.startswith('freebsd'):
self.compiler.add_library('kvm')
elif sys.platform.startswith('sunos'):
self.compiler.add_library('kstat')
super().build_extensions()