|
@ -187,6 +187,9 @@ def configure(conf): |
|
|
|
|
|
|
|
|
conf.env["USE_OPROFILE"] = o.use_oprofile |
|
|
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') |
|
|
conf.check(lib='dl', uselib_store='DL') |
|
|
if not sys.platform.startswith("sunos") and not sys.platform.startswith("cygwin"): |
|
|
if not sys.platform.startswith("sunos") and not sys.platform.startswith("cygwin"): |
|
|
conf.env.append_value("CCFLAGS", "-rdynamic") |
|
|
conf.env.append_value("CCFLAGS", "-rdynamic") |
|
@ -573,7 +576,7 @@ def build(bld): |
|
|
node = bld.new_task_gen("cxx", product_type) |
|
|
node = bld.new_task_gen("cxx", product_type) |
|
|
node.name = "node" |
|
|
node.name = "node" |
|
|
node.target = "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' |
|
|
node.add_objects = 'eio http_parser' |
|
|
if product_type_is_lib: |
|
|
if product_type_is_lib: |
|
|
node.install_path = '${PREFIX}/lib' |
|
|
node.install_path = '${PREFIX}/lib' |
|
|