summaryrefslogtreecommitdiffstats
path: root/src/mapi/shared-glapi
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2016-08-27 21:30:38 +0100
committerJose Fonseca <[email protected]>2016-08-27 22:59:06 +0100
commit09dafb96301415df000e212925245f8014ec2d11 (patch)
treeb1f2a4171d64b7ac2fc87a728795a2593f48a1ef /src/mapi/shared-glapi
parent5b18e5fd7bbebd1482a61f740c851e2bbb7f6ce1 (diff)
scons: Take indirect gl_and_es_API.xml dependencies in consideration.
Same as 26a8f76ba1a0229ee3332eaa6f1aea89d617cf3d. Trivial.
Diffstat (limited to 'src/mapi/shared-glapi')
-rw-r--r--src/mapi/shared-glapi/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapi/shared-glapi/SConscript b/src/mapi/shared-glapi/SConscript
index fc51c3a0206..e5d45db5949 100644
--- a/src/mapi/shared-glapi/SConscript
+++ b/src/mapi/shared-glapi/SConscript
@@ -26,10 +26,11 @@ def mapi_objects(env, printer, mode):
header_name = '%s-tmp.h' % (printer)
# generate ABI header
+ GLAPI = '../glapi/'
header = env.CodeGenerate(
target = header_name,
script = '../mapi_abi.py',
- source = '../glapi/gen/gl_and_es_API.xml',
+ source = [GLAPI + 'gen/gl_and_es_API.xml'] + env.Glob(GLAPI + 'gen/*.xml'),
command = python_cmd + ' $SCRIPT ' + \
'--printer %s --mode lib $SOURCE > $TARGET' % (printer),
)