aboutsummaryrefslogtreecommitdiff
path: root/ninjabackend.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-10-03 23:18:40 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-10-03 23:18:40 +0300
commita9ec9ba104b78f657482846b84dae39385ab08de (patch)
tree15cbc2a15f6077f448bea5f21eacbd6d54291d3e /ninjabackend.py
parent7bb28ef3c87f4f19daf83f4f564d9e3338eff10a (diff)
downloadmeson-a9ec9ba104b78f657482846b84dae39385ab08de.zip
meson-a9ec9ba104b78f657482846b84dae39385ab08de.tar.gz
meson-a9ec9ba104b78f657482846b84dae39385ab08de.tar.bz2
Basic outline for exposing private dir. Not working fully yet.
Diffstat (limited to 'ninjabackend.py')
-rw-r--r--ninjabackend.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ninjabackend.py b/ninjabackend.py
index 2f611a1..a8674df 100644
--- a/ninjabackend.py
+++ b/ninjabackend.py
@@ -1308,6 +1308,8 @@ rule FORTRAN_DEP_HACK
sargs = compiler.get_include_args(srctreedir)
commands += bargs
commands += sargs
+ for d in i.get_extra_build_dirs():
+ commands += compiler.get_include_args(d)
custom_target_include_dirs = []
for i in target.generated:
if isinstance(i, build.CustomTarget):