From 5e6357b42149ad4504fdd7b05acd264d10fcbe67 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 15 May 2012 12:40:19 +0200 Subject: lib/ccan: add a missing dependency to 'execinfo' for 'backtrace()' metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Tue May 15 16:12:54 CEST 2012 on sn-devel-104 --- lib/ccan/wscript | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit