summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-04-18 13:09:07 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-05-03 10:57:10 -0700
commitf1d5f2aff34665379d859ce6ec7ee690046795f9 (patch)
tree91ecff307f841a216bcb935d33ad8c096baf47e7 /src/mapi
parenta381dbf2537003c8bf7e32ad314c9266846a168f (diff)
downloadmesa-f1d5f2aff34665379d859ce6ec7ee690046795f9.tar.gz
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 <dylan.c.baker@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/meson.build2
1 files changed, 2 insertions, 0 deletions
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