mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-16 23:19:50 +01:00
Fix the Swig version detection message
This commit is contained in:
parent
44b571172b
commit
f88f13f0cf
@ -200,7 +200,7 @@ def check_swig_version(conf, minver=None):
|
||||
conf.msg('Checking for swig version', swigver_full)
|
||||
else:
|
||||
minver_str = '.'.join(map(str, minver))
|
||||
conf.msg('Checking for swig version', swigver_full, ">= %s" % (minver_str,) and 'GREEN' or 'YELLOW')
|
||||
conf.msg('Checking for swig version >= %s' % (minver_str,), swigver_full, color=result and 'GREEN' or 'YELLOW')
|
||||
|
||||
if not result:
|
||||
conf.fatal('The swig version is too old, expecting %r' % (minver,))
|
||||
|
Loading…
Reference in New Issue
Block a user