diff options
author | Brian Paul <brianp@vmware.com> | 2012-05-30 10:08:11 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2012-05-31 09:40:35 -0600 |
commit | dff36e900c645401b26c9a44106459e96ee7a24d (patch) | |
tree | 7ca932a8752ad8bb7ab215d1d496aa696b8ceec8 /src/gallium | |
parent | 185ed2105829d6f5eb19edb9abbf0d7977e157c3 (diff) | |
download | external_mesa3d-dff36e900c645401b26c9a44106459e96ee7a24d.zip external_mesa3d-dff36e900c645401b26c9a44106459e96ee7a24d.tar.gz external_mesa3d-dff36e900c645401b26c9a44106459e96ee7a24d.tar.bz2 |
scons: add code to generate the various GL API files
This fixes recent build breakage when we began building the generated
API files from xml as part of the normal build process.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=50475
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/targets/libgl-xlib/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/targets/libgl-xlib/SConscript b/src/gallium/targets/libgl-xlib/SConscript index 25a4582..1b92c30 100644 --- a/src/gallium/targets/libgl-xlib/SConscript +++ b/src/gallium/targets/libgl-xlib/SConscript @@ -35,6 +35,9 @@ sources = [ 'xlib.c', ] +# The sources depend on the python-generated GL API files/headers. +env.Depends(sources, glapi_headers) + if True: env.Append(CPPDEFINES = ['GALLIUM_TRACE', 'GALLIUM_RBUG', 'GALLIUM_GALAHAD', 'GALLIUM_SOFTPIPE']) env.Prepend(LIBS = [trace, rbug, galahad, softpipe]) |