aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/gnome.py
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-09-16 21:01:13 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2018-09-17 21:27:02 +0300
commitd0a7ea5e6e44c88178c6e5f4b0b5df8d735cbf75 (patch)
tree77ab4b05507babfe4d655be156cb4fd1cda05493 /mesonbuild/modules/gnome.py
parent6112e6a8157f823c22dcc91f44e443037e90c73d (diff)
downloadmeson-d0a7ea5e6e44c88178c6e5f4b0b5df8d735cbf75.zip
meson-d0a7ea5e6e44c88178c6e5f4b0b5df8d735cbf75.tar.gz
meson-d0a7ea5e6e44c88178c6e5f4b0b5df8d735cbf75.tar.bz2
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.
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r--mesonbuild/modules/gnome.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index 3d39950..8a99448 100644
--- a/mesonbuild/modules/gnome.py
+++ b/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'):