Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-11-26 06:09:28 +0300
committerRyan Dahl <ry@tinyclouds.org>2010-12-03 05:06:43 +0300
commita0e9a510b049b8593855f4be8e7b02d841b66de8 (patch)
tree7ed396b408b8aafb0034b7443a5e78bfab6ce1fa /wscript
parentc0d69a488380fb3cfc1fb257972730ad5c570ef9 (diff)
Introduce require('tty')
You may need to reconfigure after this commit due to the new library.
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/wscript b/wscript
index 0698f0b60a4..1790a9bb72b 100644
--- a/wscript
+++ b/wscript
@@ -233,6 +233,9 @@ def configure(conf):
else:
Options.options.use_openssl = conf.env["USE_OPENSSL"] = False
+ conf.check(lib='util', libpath=['/usr/lib', '/usr/local/lib'],
+ uselib_store='UTIL')
+
# normalize DEST_CPU from --dest-cpu, DEST_CPU or built-in value
if Options.options.dest_cpu and Options.options.dest_cpu:
conf.env['DEST_CPU'] = canonical_cpu_type(Options.options.dest_cpu)
@@ -570,7 +573,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'
+ node.uselib = 'RT EV OPENSSL CARES EXECINFO DL KVM SOCKET NSL UTIL'
node.add_objects = 'eio http_parser'
if product_type_is_lib:
node.install_path = '${PREFIX}/lib'