summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2021-04-30 11:08:10 +0200
committerStéphane Cerveau <scerveau@collabora.com>2021-05-04 11:41:46 +0200
commitcb74a24fbdde07cc5703c290babb46a01b9e5db0 (patch)
tree70df3f119769699ec382ea78d45f7791514fcd9e
parente43985d8bb205346a20e73fa5daf4c1a0fd48725 (diff)
gstreamer-full: error about introspection
The introspection feature is not supported yet in static build. Needs https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/167/diffs Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/242>
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 6137302..0cd65ec 100644
--- a/meson.build
+++ b/meson.build
@@ -248,6 +248,9 @@ libraries_map = {
}
if get_option('default_library') == 'static'
+ if not get_option('introspection').disabled()
+ error('GObject Introspection is not supported in static builds. Please use -Dintrospection=disabled')
+ endif
# Generate a .c file which declare and register all built plugins
plugins_names = []
foreach plugin: all_plugins