From f0d743741235fcf4f73610c45c2684268d744183 Mon Sep 17 00:00:00 2001 From: Quentin Glidic Date: Fri, 20 May 2016 10:56:23 +0200 Subject: build: Do not link to libGL for egl-drm Signed-off-by: Quentin Glidic --- wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 684fdf0465..aae6fa175e 100644 --- a/wscript +++ b/wscript @@ -677,7 +677,10 @@ video_output_features = [ 'desc': 'OpenGL DRM EGL Backend', 'deps': [ 'drm', 'gbm' ], 'groups': [ 'gl' ], - 'func': check_pkg_config('egl', 'gl'), + 'func': compose_checks( + check_pkg_config('egl'), + check_pkg_config_cflags('gl') + ) } , { 'name': '--gl-wayland', 'desc': 'OpenGL Wayland Backend', -- cgit v1.2.3