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>
This commit is contained in:
Stéphane Cerveau 2021-04-30 11:08:10 +02:00
parent e43985d8bb
commit cb74a24fbd

View file

@ -248,6 +248,9 @@ libraries_map = {
} }
if get_option('default_library') == 'static' 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 # Generate a .c file which declare and register all built plugins
plugins_names = [] plugins_names = []
foreach plugin: all_plugins foreach plugin: all_plugins