Browse Source

build: check for libkvm and libexecinfo on all the BSDs

v0.7.4-release
Ben Noordhuis 13 years ago
parent
commit
eef5d3257d
  1. 4
      wscript

4
wscript

@ -292,7 +292,7 @@ def configure(conf):
conf.env.append_value("CCFLAGS", "-rdynamic")
conf.env.append_value("LINKFLAGS_DL", "-rdynamic")
if sys.platform.startswith("freebsd") or sys.platform.startswith("openbsd"):
if 'bsd' in sys.platform:
conf.check(lib='kvm', uselib_store='KVM')
#if Options.options.debug:
@ -309,7 +309,7 @@ def configure(conf):
if Options.options.efence:
conf.check(lib='efence', libpath=['/usr/lib', '/usr/local/lib'], uselib_store='EFENCE')
if sys.platform.startswith("freebsd"):
if 'bsd' in sys.platform:
if not conf.check(lib="execinfo",
includes=['/usr/include', '/usr/local/include'],
libpath=['/usr/lib', '/usr/local/lib'],

Loading…
Cancel
Save