mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Fix --includedir handling
* tests/scanner/Makefile.am: Pass the right --includedir args. Add a Makefile dep. * tools/compiler.c: Pass includedirs down. * girepository/girparser.c: Actually put includedirs in context, pass down. Fix locate_gir. svn path=/trunk/; revision=514
This commit is contained in:
parent
85bdf52b87
commit
8dd1802d1f
@ -201,13 +201,14 @@ main (int argc, char ** argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
g_debug ("[parsing] start");
|
||||
g_debug ("[parsing] start, %d includes",
|
||||
includedirs ? g_strv_length (includedirs) : 0);
|
||||
|
||||
modules = NULL;
|
||||
for (i = 0; input[i]; i++)
|
||||
{
|
||||
GList *mods;
|
||||
mods = g_ir_parse_file (input[i], &error);
|
||||
mods = g_ir_parse_file (input[i], (const char*const*) includedirs, &error);
|
||||
|
||||
if (mods == NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user