Bug 467: waf configure enables python after detecting pybindgen is missing
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Mon, 12 Jan 2009 18:45:03 +0000
changeset 4082 048db3e90b9b
parent 4081 74180c1a3af9
child 4083 5a5d8b94047a
Bug 467: waf configure enables python after detecting pybindgen is missing
bindings/python/wscript
--- a/bindings/python/wscript	Mon Jan 12 13:40:38 2009 +0100
+++ b/bindings/python/wscript	Mon Jan 12 18:45:03 2009 +0000
@@ -151,6 +151,7 @@
         Logs.warn("pybindgen missing => no python bindings")
         conf.report_optional_feature("python", "Python Bindings", False,
                                      "PyBindGen missing")
+        return
     else:
         out = subprocess.Popen([conf.env['PYTHON'], "-c",
                                 "import pybindgen.version; "