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-08-27 17:20:18 +0400
committerRyan Dahl <ry@tinyclouds.org>2010-08-27 17:20:20 +0400
commite8b3751743a8d7c206fef8c2fa1f1085527f1ab9 (patch)
tree262497729740a13905814f2c5e93c62230044231 /wscript
parent51224f12ca9aa145d9ca5eb03f5cbfbb1d43f164 (diff)
Only check for execinfo lib in freebsd
OpenEmbedded doesn't like it when you look in /usr/lib
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 6 insertions, 5 deletions
diff --git a/wscript b/wscript
index 7f024bfb6ed..9c4243c5d57 100644
--- a/wscript
+++ b/wscript
@@ -162,11 +162,12 @@ def configure(conf):
if Options.options.efence:
conf.check(lib='efence', libpath=['/usr/lib', '/usr/local/lib'], uselib_store='EFENCE')
- if not conf.check(lib="execinfo", includes=['/usr/include', '/usr/local/include'], libpath=['/usr/lib', '/usr/local/lib'], uselib_store="EXECINFO"):
- # Note on Darwin/OS X: This will fail, but will still be used as the
- # execinfo stuff are part of the standard library.
- if sys.platform.startswith("freebsd"):
- conf.fatal("Install the libexecinfo port from /usr/ports/devel/libexecinfo.")
+ if sys.platform.startswith("freebsd"):
+ if not conf.check(lib="execinfo",
+ includes=['/usr/include', '/usr/local/include'],
+ libpath=['/usr/lib', '/usr/local/lib'],
+ uselib_store="EXECINFO"):
+ conf.fatal("Install the libexecinfo port from /usr/ports/devel/libexecinfo.")
if not Options.options.without_ssl:
if conf.check_cfg(package='openssl',