glapi: Fix scons build
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Apr 2014 19:30:27 +0000 (12:30 -0700)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 3 Apr 2014 11:52:09 +0000 (12:52 +0100)
Put the -c in the correct place (and match Makefile.am).

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

index 4d827b015cd5768044000eb077e462d2b32ac8d2..b9cdbbf363fa3f8fce20258f177b7a297ed10162 100644 (file)
@@ -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(