From 03e1a6bae5a34964eb24756f6375e59f1e3cd0b0 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Thu, 2 Oct 2008 17:15:09 +0100 Subject: [PATCH] Exit WAF after processing --python-scan to avoid incorrect builds, since WAF does not handle well files being generated into the source dir instead of the build dir --- bindings/python/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/wscript b/bindings/python/wscript index c48fc6242..50fa7a06d 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -353,7 +353,7 @@ class PythonScanTask(Task.TaskBase): scan.stdin.close() if scan.wait(): raise SystemExit(1) - + raise SystemExit(0) def build(bld): if Params.g_options.python_disable: