From b01524fff05eef66e8cd24f1c5aacefed4209f03 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 5 Mar 2019 11:46:38 +0000 Subject: [PATCH] meson: don't build libGLES*.so with GLVND GLVND already provides these, so distro packagers have been deleting them all along. Let's save ourselves the trouble and not build them in the first place. Signed-off-by: Eric Engestrom Reviewed-by: Matt Turner Reviewed-by: Dylan Baker Reviewed-by: Emil Velikov --- src/mapi/meson.build | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/mapi/meson.build b/src/mapi/meson.build index 3e79bbaa7aa..8b1b7ba8f73 100644 --- a/src/mapi/meson.build +++ b/src/mapi/meson.build @@ -33,9 +33,11 @@ subdir('glapi') if with_shared_glapi subdir('shared-glapi') endif -if with_gles1 - subdir('es1api') -endif -if with_gles2 - subdir('es2api') +if not with_glvnd + if with_gles1 + subdir('es1api') + endif + if with_gles2 + subdir('es2api') + endif endif -- 2.30.2