diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-12-14 09:04:54 +0300 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-12-14 09:12:46 +0300 |
commit | 7d73779446eeeb5158162a25601eb182e286f68c (patch) | |
tree | 4b79765d4c186164937aca467c3ee157bbf7f382 /wscript | |
parent | 1d78159e8f8ad7f41167a38ebfa973ed055bc7b6 (diff) |
Make oprofile work
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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' |