[Mesa-dev] [PATCH v2 02/49] meson: always define libglapi

Dylan Baker dylan at pnwbakers.com
Tue Jul 10 23:17:30 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.18.0



More information about the mesa-dev mailing list