meson: always define libglapi
authorDylan Baker <dylan@pnwbakers.com>
Wed, 18 Apr 2018 20:09:07 +0000 (13:09 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 3 May 2019 17:57:10 +0000 (10:57 -0700)
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>
src/mapi/meson.build

index 8b1b7ba..2c79a04 100644 (file)
@@ -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