[Mesa-dev] [PATCH v4 03/49] meson: always define libglapi
Dylan Baker
dylan at pnwbakers.com
Wed Aug 22 17:04:26 UTC 2018
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 <dylan.c.baker at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
---
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