summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/SConscript
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-12-01 12:01:53 -0800
committerEric Anholt <[email protected]>2015-12-01 12:19:02 -0800
commit148c2f5b175eb0c6355d9f1fc4a60c2f7013535d (patch)
tree9445ab5395681a6c97f0870b1e1faa0b13530250 /src/mapi/glapi/gen/SConscript
parent1c0ac1976ac7a87bfd2ade47f25047c31527f18a (diff)
mapi: Fix enums.c build with other build systems.
Tested with scons (by both myself and Mark Janes), Android is just copy and paste.
Diffstat (limited to 'src/mapi/glapi/gen/SConscript')
-rw-r--r--src/mapi/glapi/gen/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/SConscript b/src/mapi/glapi/gen/SConscript
index b9cdbbf363f..ff0df745c2c 100644
--- a/src/mapi/glapi/gen/SConscript
+++ b/src/mapi/glapi/gen/SConscript
@@ -51,7 +51,7 @@ env.CodeGenerate(
env.CodeGenerate(
target = '../../../mesa/main/enums.c',
script = 'gl_enums.py',
- source = sources,
+ source = '../registry/gl.xml',
command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
)