summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2019-03-05 11:46:38 +0000
committerEric Engestrom <eric.engestrom@intel.com>2019-03-08 15:13:36 +0000
commitb01524fff05eef66e8cd24f1c5aacefed4209f03 (patch)
treeed02762113b327c2be3fad22b6a9e8fe13f60d21
parent2c387819f4b19a6da1255c63a7b2746feed2f9d9 (diff)
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 <eric.engestrom@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-rw-r--r--src/mapi/meson.build12
1 files 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