diff options
| author | José Fonseca <jfonseca@vmware.com> | 2012-07-12 21:13:10 +0100 |
|---|---|---|
| committer | José Fonseca <jfonseca@vmware.com> | 2012-07-12 21:13:10 +0100 |
| commit | bd3aab8d7915b0bc5829a32964955d9da84bef3b (patch) | |
| tree | 07abacacefed0b4f76feb5836153841c57077eec /src/glx/SConscript | |
| parent | 6882381a2efbdf06b7002d11468c94b9964c2bc8 (diff) | |
| download | external_mesa3d-bd3aab8d7915b0bc5829a32964955d9da84bef3b.tar.gz external_mesa3d-bd3aab8d7915b0bc5829a32964955d9da84bef3b.tar.bz2 external_mesa3d-bd3aab8d7915b0bc5829a32964955d9da84bef3b.zip | |
scons: Also require recent XCB.
And don't trip when it's not found -- simply skip building src/glx.
Diffstat (limited to 'src/glx/SConscript')
| -rw-r--r-- | src/glx/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glx/SConscript b/src/glx/SConscript index 664cb86268..c921eef703 100644 --- a/src/glx/SConscript +++ b/src/glx/SConscript @@ -1,5 +1,8 @@ Import('*') +if not env['x11'] or not env['xcb'] or not env['drm']: + Return() + from sys import executable as python_cmd env = env.Clone() |
