summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorScott McWhirter <scott.mcwhirter@joyent.com>2011-03-27 03:14:34 -0700
committerRyan Dahl <ry@tinyclouds.org>2011-04-11 17:03:50 -0700
commit752bbd6b426d4be9fc8a352c7bec0f89839828d7 (patch)
tree932ff7992c1d891998f3f3051bbc13ad305449e0 /wscript
parentd2298d225ca61cd5eb9b78b0a5e9c4b27b66d4aa (diff)
downloadandroid-node-v8-752bbd6b426d4be9fc8a352c7bec0f89839828d7.tar.gz
android-node-v8-752bbd6b426d4be9fc8a352c7bec0f89839828d7.tar.bz2
android-node-v8-752bbd6b426d4be9fc8a352c7bec0f89839828d7.zip
Add os.cpus() support for sunos
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/wscript b/wscript
index 7692e83f4e..756b530cf8 100644
--- a/wscript
+++ b/wscript
@@ -359,6 +359,8 @@ def configure(conf):
conf.fatal("Cannot find socket library")
if not conf.check(lib='nsl', uselib_store="NSL"):
conf.fatal("Cannot find nsl library")
+ if not conf.check(lib='kstat', uselib_store="KSTAT"):
+ conf.fatal("Cannot find kstat library")
conf.sub_config('deps/libeio')
@@ -802,7 +804,7 @@ def build(bld):
node = bld.new_task_gen("cxx", product_type)
node.name = "node"
node.target = "node"
- node.uselib = 'RT EV OPENSSL CARES EXECINFO DL KVM SOCKET NSL UTIL OPROFILE'
+ node.uselib = 'RT EV OPENSSL CARES EXECINFO DL KVM SOCKET NSL KSTAT UTIL OPROFILE'
node.add_objects = 'eio http_parser'
if product_type_is_lib:
node.install_path = '${LIBDIR}'