[Mesa-dev] [PATCH 01/48] meson: always define libglapi

Dylan Baker dylan at pnwbakers.com
Mon Jun 11 22:55:28 UTC 2018


This allows the identifier to be used even if shared-glapi isn't build,
which simplifies a bunch of things.
---
 src/mapi/meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mapi/meson.build b/src/mapi/meson.build
index 798586bfb0c..0be80047e4d 100644
--- a/src/mapi/meson.build
+++ b/src/mapi/meson.build
@@ -30,6 +30,8 @@ mapi_abi_py = files('mapi_abi.py')
 subdir('glapi')
 if with_shared_glapi
   subdir('shared-glapi')
+else
+  libglapi = []
 endif
 if with_gles1
   subdir('es1api')
-- 
2.17.1



More information about the mesa-dev mailing list