From 7d5c37832f1c14360fef3fcaace3230d04d40fdd Mon Sep 17 00:00:00 2001 From: Peter Cooner Date: Tue, 23 Aug 2016 07:51:26 -0400 Subject: [PATCH] Include kstat lib for solaris --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index ba7bff2..e30783f 100644 --- a/setup.py +++ b/setup.py @@ -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()