--- a/bindings/python/wscript Mon Nov 24 14:35:00 2014 -0800
+++ b/bindings/python/wscript Wed Nov 26 14:59:32 2014 -0800
@@ -255,6 +255,8 @@
"import pygccxml; print pygccxml.__version__"],
stdout=subprocess.PIPE).communicate()[0]
pygccxml_version_str = out.strip()
+ # Bug 2013: pygccxml versions > 1.0.0 prepend a 'v' to version number
+ pygccxml_version_str = pygccxml_version_str.lstrip('v')
pygccxml_version = tuple([int(x) for x in pygccxml_version_str.split('.')])
conf.msg('Checking for pygccxml version', pygccxml_version_str)
if not (pygccxml_version >= REQUIRED_PYGCCXML_VERSION):