Mesa (master): glapi: Fix scons build

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Apr 3 11:52:14 UTC 2014


Module: Mesa
Branch: master
Commit: 572a25be2f09912c52248819c5e773831a412c69
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=572a25be2f09912c52248819c5e773831a412c69

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Apr  2 12:30:27 2014 -0700

glapi: Fix scons build

Put the -c in the correct place (and match Makefile.am).

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76960
Tested-by: Vinson Lee <vlee at freedesktop.org>
Signed-off-by: José Fonseca <jfonseca at vmware.com>

---

 src/mapi/glapi/gen/SConscript |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mapi/glapi/gen/SConscript b/src/mapi/glapi/gen/SConscript
index 4d827b0..b9cdbbf 100644
--- a/src/mapi/glapi/gen/SConscript
+++ b/src/mapi/glapi/gen/SConscript
@@ -38,7 +38,7 @@ env.CodeGenerate(
     target = '../../../mapi/glapi/glprocs.h',
     script = 'gl_procs.py',
     source = sources,
-    command = python_cmd + ' -c $SCRIPT -f $SOURCE > $TARGET'
+    command = python_cmd + ' $SCRIPT -c -f $SOURCE > $TARGET'
     )
 
 env.CodeGenerate(




More information about the mesa-commit mailing list