From bd3aab8d7915b0bc5829a32964955d9da84bef3b Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 12 Jul 2012 21:13:10 +0100 Subject: scons: Also require recent XCB. And don't trip when it's not found -- simply skip building src/glx. --- src/glx/SConscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/glx/SConscript b/src/glx/SConscript index 664cb86268d..c921eef7037 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() -- cgit v1.2.3