From: Andrew Tridgell Date: Sat, 20 Mar 2010 06:27:23 +0000 (+1100) Subject: build: lib needs to take a list when more than 1 X-Git-Tag: samba-3.6.0pre1~3528 X-Git-Url: http://git.samba.org/samba.git/?p=nivanova%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=1130f8f8d778da2da42d19392aafea520a2e189c build: lib needs to take a list when more than 1 --- diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 59a70aa5f19..0b268600334 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -318,7 +318,7 @@ def CHECK_FUNCS_IN(conf, list, library, mandatory=False, checklibc=False): ret = True for f in remaining: - if not conf.check(function_name=f, lib=library, header_name=conf.env.hlist): + if not conf.check(function_name=f, lib=TO_LIST(library), header_name=conf.env.hlist): ret = False return ret