mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 00:16:15 +01:00
[girepository] Fix ordering in override_search_path
Entries in the GI_TYPELIB_PATH environment variable are added to the global search path in reverse order - instead, add entries in the same order in which they are specified.
This commit is contained in:
parent
1b8bf7a4dc
commit
5b5ab282a6
@ -131,6 +131,9 @@ init_globals (void)
|
||||
g_free (custom_dirs);
|
||||
}
|
||||
|
||||
if (override_search_path != NULL)
|
||||
override_search_path = g_slist_reverse (override_search_path);
|
||||
|
||||
libdir = GOBJECT_INTROSPECTION_LIBDIR;
|
||||
|
||||
typelib_dir = g_build_filename (libdir, "girepository-1.0", NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user