meson: don't build libGLES*.so with GLVND
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 5 Mar 2019 11:46:38 +0000 (11:46 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Fri, 8 Mar 2019 15:13:36 +0000 (15:13 +0000)
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>
src/mapi/meson.build

index 3e79bbaa7aa06f8a34303b746f3dbe0dd2b9624a..8b1b7ba8f732b6260a49e9fc963a7b10791a55d3 100644 (file)
@@ -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