summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glx/SConscript3
1 files changed, 3 insertions, 0 deletions
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()