gnome.gtkdoc: Fix dependencies compile_args in gtkdoc

One of the gtkdoc's steps calls to gtkdoc-scangobj that also accepts
compiler arguments by using the cflags option.

Compiler arguments from dependencies are also appended now.
This commit is contained in:
Iñigo Martínez 2018-09-16 21:01:13 +02:00 committed by Jussi Pakkanen
parent 6112e6a815
commit d0a7ea5e6e
1 changed files with 1 additions and 0 deletions

View File

@ -326,6 +326,7 @@ class GnomeModule(ExtensionModule):
for dep in deps:
if isinstance(dep, InternalDependency):
cflags.update(dep.compile_args)
cflags.update(get_include_args(dep.include_directories))
for lib in dep.libraries:
if hasattr(lib, 'held_object'):