aboutsummaryrefslogtreecommitdiff
path: root/ninjabackend.py
diff options
context:
space:
mode:
Diffstat (limited to 'ninjabackend.py')
-rw-r--r--ninjabackend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ninjabackend.py b/ninjabackend.py
index 0918d7e..35734c3 100644
--- a/ninjabackend.py
+++ b/ninjabackend.py
@@ -433,9 +433,9 @@ class NinjaBackend(backends.Backend):
for h in headers:
outdir = h.get_custom_install_dir()
if outdir is None:
- outdir = os.path.join(incroot, h.get_subdir())
+ outdir = os.path.join(incroot, h.get_install_subdir())
for f in h.get_sources():
- abspath = os.path.join(self.environment.get_source_dir(), f) # FIXME
+ abspath = os.path.join(self.environment.get_source_dir(), h.get_source_subdir(), f)
i = [abspath, outdir]
d.headers.append(i)