summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildtools/wafsamba/samba_autoconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index 59a70aa5f1..0b26860033 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