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-12-14 09:04:54 +0300
committerRyan Dahl <ry@tinyclouds.org>2010-12-14 09:12:46 +0300
commit7d73779446eeeb5158162a25601eb182e286f68c (patch)
tree4b79765d4c186164937aca467c3ee157bbf7f382 /wscript
parent1d78159e8f8ad7f41167a38ebfa973ed055bc7b6 (diff)
Make oprofile work
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/wscript b/wscript
index 3cc70e26102..9d5379b6045 100644
--- a/wscript
+++ b/wscript
@@ -187,6 +187,9 @@ def configure(conf):
conf.env["USE_OPROFILE"] = o.use_oprofile
+ if o.use_oprofile:
+ conf.check(lib=['bfd', 'opagent'], uselib_store="OPROFILE")
+
conf.check(lib='dl', uselib_store='DL')
if not sys.platform.startswith("sunos") and not sys.platform.startswith("cygwin"):
conf.env.append_value("CCFLAGS", "-rdynamic")
@@ -573,7 +576,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'
+ node.uselib = 'RT EV OPENSSL CARES EXECINFO DL KVM SOCKET NSL UTIL OPROFILE'
node.add_objects = 'eio http_parser'
if product_type_is_lib:
node.install_path = '${PREFIX}/lib'