meson: don't build libGLES*.so with GLVND
[mesa.git] / 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