gstreamer-full: error about introspection
authorStéphane Cerveau <scerveau@collabora.com>
Fri, 30 Apr 2021 09:08:10 +0000 (11:08 +0200)
committerStéphane Cerveau <scerveau@collabora.com>
Tue, 4 May 2021 09:41:46 +0000 (11:41 +0200)
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>

meson.build

index 6137302..0cd65ec 100644 (file)
@@ -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