summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript12
1 files changed, 5 insertions, 7 deletions
diff --git a/wscript b/wscript
index 47bbf868db..6e82a9e51b 100644
--- a/wscript
+++ b/wscript
@@ -565,16 +565,15 @@ video_output_features = [
} , {
'name': '--egl-drm',
'desc': 'OpenGL DRM EGL Backend',
- 'deps': 'drm && gbm',
+ 'deps': 'drm && gbm && egl',
'groups': [ 'gl' ],
- 'func': check_pkg_config('egl'),
+ 'func': check_true,
} , {
'name': '--gl-wayland',
'desc': 'OpenGL Wayland Backend',
- 'deps': 'wayland',
+ 'deps': 'wayland && egl',
'groups': [ 'gl' ],
- 'func': check_pkg_config('wayland-egl', '>= 9.0.0',
- 'egl', '>= 1.5')
+ 'func': check_pkg_config('wayland-egl', '>= 9.0.0')
} , {
'name': '--gl-win32',
'desc': 'OpenGL Win32 Backend',
@@ -751,8 +750,7 @@ video_output_features = [
}, {
'name': 'egl-helpers',
'desc': 'EGL helper functions',
- 'deps': 'egl-x11 || rpi || gl-wayland || egl-drm || ' +
- 'egl-angle-win32 || egl-android',
+ 'deps': 'egl || rpi || egl-angle-win32 || egl-android',
'func': check_true
}
]