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.
pull/4193/head
Iñigo Martínez 7 years ago committed by Jussi Pakkanen
parent 6112e6a815
commit d0a7ea5e6e
  1. 1
      mesonbuild/modules/gnome.py

@ -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'):

Loading…
Cancel
Save