Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
build: check for libkvm and libexecinfo on all the BSDs
  • Loading branch information
bnoordhuis committed Dec 7, 2011
1 parent 7547c7d commit eef5d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wscript
Expand Up @@ -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:
Expand All @@ -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'],
Expand Down

0 comments on commit eef5d32

Please sign in to comment.