summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-04-18 13:09:07 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-05-17 11:06:01 -0700
commit46b285f553d8091716ec77683d794725589f0d3d (patch)
treee932e119c5bbb3f882a327b472cb7cef180fe3d7
parent453ba468176ed8813e0bed8ddb86e82bc1995860 (diff)
meson: always define libglapi
This allows the identifier to be used even if shared-glapi isn't build, which simplifies a bunch of things.
-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 798586bfb0..0be80047e4 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')