Module: Mesa
Branch: master
Commit: f1d5f2aff34665379d859ce6ec7ee690046795f9
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1d5f2aff34665379d859ce6ec7ee690046795f9

Author: Dylan Baker <[email protected]>
Date:   Wed Apr 18 13:09:07 2018 -0700

meson: always define libglapi

This allows the identifier to be used even if shared-glapi isn't build,
which simplifies a bunch of things.

Signed-off-by: Dylan Baker <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>

---

 src/mapi/meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mapi/meson.build b/src/mapi/meson.build
index 8b1b7ba8f73..2c79a04f1df 100644
--- a/src/mapi/meson.build
+++ b/src/mapi/meson.build
@@ -32,6 +32,8 @@ mapi_abi_py = files('mapi_abi.py')
 subdir('glapi')
 if with_shared_glapi
   subdir('shared-glapi')
+else
+  libglapi = []
 endif
 if not with_glvnd
   if with_gles1

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to