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:
Colin Walters 2008-08-28 22:13:00 +00:00 committed by Evan Welsh
parent 85bdf52b87
commit 8dd1802d1f

View File

@ -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)
{