waf: use Logs.warn() instead of print() in the symbol check code
authorAndrew Tridgell <tridge@samba.org>
Wed, 1 Dec 2010 00:28:26 +0000 (11:28 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 1 Dec 2010 05:09:57 +0000 (16:09 +1100)
buildtools/wafsamba/symbols.py

index e90eb8832f9ed2fe2cc47a81eda4eac3dff8617e..77920e480d449b8989679a0c706b6f58034b59e3 100644 (file)
@@ -146,7 +146,7 @@ def build_syslib_sets(bld, tgt_list):
     for lib in syslibs:
         path = find_syslib_path(bld, lib, syslibs[lib])
         if path is None:
-            print("Unable to find syslib path for %s used by %s" % lib)
+            Logs.warn("Unable to find syslib path for %s used by %s" % (lib, syslibs[lib]))
         if path is not None:
             syslib_paths.append(path)
             objmap[path] = lib.lower()