glx: fix Scons build
authorBrian Paul <brianp@vmware.com>
Fri, 22 May 2015 20:18:54 +0000 (13:18 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 22 May 2015 20:38:33 +0000 (14:38 -0600)
Replace -h with --header-tag as was done for the Makefile build.

Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
src/glx/SConscript

index b91c0bdd7585afb31c62ccc911378db991fb1d79..619e4c373ed533d43c9df6f50a4ede55cd594b56 100644 (file)
@@ -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(