diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-05-15 12:40:19 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-15 16:12:53 +0200 |
commit | 5e6357b42149ad4504fdd7b05acd264d10fcbe67 (patch) | |
tree | 243d448082356bde4a73514f47d70215855da9c1 | |
parent | 78af4738e7bd6f73469dd990d0f444a04afbc709 (diff) | |
download | samba-5e6357b42149ad4504fdd7b05acd264d10fcbe67.tar.gz samba-5e6357b42149ad4504fdd7b05acd264d10fcbe67.tar.bz2 samba-5e6357b42149ad4504fdd7b05acd264d10fcbe67.zip |
lib/ccan: add a missing dependency to 'execinfo' for 'backtrace()'
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue May 15 16:12:54 CEST 2012 on sn-devel-104
-rw-r--r-- | lib/ccan/wscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ccan/wscript b/lib/ccan/wscript index 59fe93af8e..24034bb4ac 100644 --- a/lib/ccan/wscript +++ b/lib/ccan/wscript @@ -117,8 +117,12 @@ def configure(conf): addmain=False, link=False, cflags="-Werror", define='HAVE_WARN_UNUSED_RESULT') + # backtrace could be in libexecinfo or in libc + conf.CHECK_FUNCS_IN('backtrace backtrace_symbols', 'execinfo', checklibc=True, headers='execinfo.h') + def build(bld): bld.SAMBA_LIBRARY('ccan', vnum="0.1-init-1161-g661d41f", source=bld.path.ant_glob('*/*.c'), + deps='execinfo', private_library=True) |