Browse Source

Only check for execinfo lib in freebsd

OpenEmbedded doesn't like it when you look in /usr/lib
v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
e8b3751743
  1. 11
      wscript

11
wscript

@ -162,11 +162,12 @@ def configure(conf):
if Options.options.efence: if Options.options.efence:
conf.check(lib='efence', libpath=['/usr/lib', '/usr/local/lib'], uselib_store='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"): if sys.platform.startswith("freebsd"):
# Note on Darwin/OS X: This will fail, but will still be used as the if not conf.check(lib="execinfo",
# execinfo stuff are part of the standard library. includes=['/usr/include', '/usr/local/include'],
if sys.platform.startswith("freebsd"): libpath=['/usr/lib', '/usr/local/lib'],
conf.fatal("Install the libexecinfo port from /usr/ports/devel/libexecinfo.") uselib_store="EXECINFO"):
conf.fatal("Install the libexecinfo port from /usr/ports/devel/libexecinfo.")
if not Options.options.without_ssl: if not Options.options.without_ssl:
if conf.check_cfg(package='openssl', if conf.check_cfg(package='openssl',

Loading…
Cancel
Save