gnome: Fix includedir cflags
Include directories are passed with the -I flag to both the compiler and g-ir-scanner, not as input files.
This commit is contained in:
parent
f792641b34
commit
4b8dc3b746
|
@ -367,7 +367,8 @@ class GnomeModule(ExtensionModule):
|
|||
gi_includes.update([girdir])
|
||||
elif isinstance(dep, (build.StaticLibrary, build.SharedLibrary)):
|
||||
for incd in dep.get_include_dirs():
|
||||
cflags.update(incd.get_incdirs())
|
||||
for idir in incd.get_incdirs():
|
||||
cflags.update(["-I%s" % idir])
|
||||
else:
|
||||
mlog.log('dependency %s not handled to build gir files' % dep)
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue