From 4146d77eaf569ca438ad695fd62097fcabfafc33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vedran=20Mileti=C4=87?= Date: Tue, 23 Jun 2015 14:40:12 +0200 Subject: [PATCH] Fix printing of gccxml version (Waf 1.8 API change) --- bindings/python/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/wscript b/bindings/python/wscript index 1087a4daa..0e4b159e1 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -278,7 +278,7 @@ int main () "gccxml missing") return - gccxml_version_line = os.popen(gccxml + " --version").readline().strip() + gccxml_version_line = os.popen(gccxml[0] + " --version").readline().strip() m = re.match( "^GCC-XML version (\d\.\d(\.\d)?)$", gccxml_version_line) gccxml_version = m.group(1) gccxml_version_ok = ([int(s) for s in gccxml_version.split('.')] >= [0, 9])