diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-05-04 23:55:20 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-05-04 23:55:20 +0100 |
commit | 60e9629860e33fc8813b4e10bfb3b972689ac9f4 (patch) | |
tree | 12c49c0884d29b66f205f5df6582568a005480c0 /meson.build | |
parent | cbb900ac6610f60f5bce7f6449b753924cb457ba (diff) |
g-i: no need to load registry in g-i scanner
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 717c75f44d..225eaee022 100644 --- a/meson.build +++ b/meson.build @@ -229,6 +229,7 @@ gir = find_program('g-ir-scanner', required : false) gnome = import('gnome') build_gir = gir.found() and not meson.is_cross_build() and not get_option('disable_introspection') gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \ + 'g_setenv("GST_REGISTRY_DISABLE", "yes", TRUE);' + \ 'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \ 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \ 'g_setenv("GST_PLUGIN_SYSTEM_PATH_1_0", "", TRUE);' + \ |