build: lib needs to take a list when more than 1
authorAndrew Tridgell <tridge@samba.org>
Sat, 20 Mar 2010 06:27:23 +0000 (17:27 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:57 +0000 (20:26 +1000)
buildtools/wafsamba/samba_autoconf.py

index 59a70aa5f199eb06eb8f507270fe424e06c0ce11..0b2686003344f6921984c7100637bb13c4fedd77 100644 (file)
@@ -318,7 +318,7 @@ def CHECK_FUNCS_IN(conf, list, library, mandatory=False, checklibc=False):
 
     ret = True
     for f in remaining:
 
     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
 
             ret = False
     return ret