[Mesa-dev] [PATCH] glapi: fix scons build

Dylan Baker baker.dylan.c at gmail.com
Fri May 22 13:37:51 PDT 2015


The arguments for glX_proto_size.py changed slightly, the '-h' short
option was removed, because argparse reserves that for help messages.
The auto-tools based build was already updated to account for this
change, but the scons build was not.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---

The Scons build is broken for me before I get here, someone could test
this that would be great.

I don't have push access.

 src/glx/SConscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glx/SConscript b/src/glx/SConscript
index b91c0bd..619e4c3 100644
--- a/src/glx/SConscript
+++ b/src/glx/SConscript
@@ -125,7 +125,7 @@ env.CodeGenerate(
     target = 'indirect_size.h',
     script = GLAPI + 'gen/glX_proto_size.py',
     source = sources,
-    command = python_cmd + ' $SCRIPT -f $SOURCE -m size_h --only-set -h _INDIRECT_SIZE_H > $TARGET'
+    command = python_cmd + ' $SCRIPT -f $SOURCE -m size_h --only-set --header-tag _INDIRECT_SIZE_H > $TARGET'
 )
 
 env.CodeGenerate(
-- 
2.4.1



More information about the mesa-dev mailing list