wafsamba: Fix undefined variable name in error message.
[mat/samba.git] / buildtools / wafsamba / samba_bundled.py
index a29b3aa220974a09638dbe166b0e39f55f33649e..a29bfa3a1bd2fe142c9ab9bf4af53aeaab1a539f 100644 (file)
@@ -111,7 +111,7 @@ def CHECK_BUNDLED_SYSTEM_PKG(conf, libname, minversion='0.0.0',
     if onlyif:
         if not conf.CHECK_PREREQUISITES(onlyif):
             if not conf.LIB_MAY_BE_BUNDLED(libname):
-                Logs.error('ERROR: Use of system library %s depends on missing system library %s' % (libname, syslib))
+                Logs.error('ERROR: Use of system library %s depends on missing system library %s' % (libname, onlyif))
                 sys.exit(1)
             conf.env[found] = False
             return False