mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
meson: Unset the plugin paths to generate the .gir files
Avoiding problems when using subproject: Failed to load plugin 'something.so: file too short
This commit is contained in:
parent
e6c8c53fbe
commit
c67958aed9
1 changed files with 5 additions and 1 deletions
|
@ -315,7 +315,11 @@ gnome = import('gnome')
|
|||
# Fixme, not very elegant.
|
||||
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**); gst_init(NULL,NULL);' ]
|
||||
gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \
|
||||
'g_setenv("GST_REGISTRY_1.0", "/no/way/this/exists.reg", TRUE);' + \
|
||||
'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \
|
||||
'g_setenv("GST_PLUGIN_SYSTEM_PATH_1_0", "", TRUE);' + \
|
||||
'gst_init(NULL,NULL);' ]
|
||||
vs_module_defs_dir = meson.current_source_dir() + '/win32/common/'
|
||||
|
||||
gst_c_args = ['-DHAVE_CONFIG_H']
|
||||
|
|
Loading…
Reference in a new issue