Skip to content

Commit 5edd900

Browse files
committed
build_system/ninja: add local target directory to includes
Signed-off-by: Rafael Silva <perigoso@riseup.net>
1 parent 880b736 commit 5edd900

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

build_system/ninja.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ def write_variables(
120120
self.writer.variable('c_flags', details.c_flags)
121121
self.writer.variable('c_include_flags', [
122122
f'-I{self.path(self._location.code)}'
123+
] + [
124+
f'-I{self.path(self._location.code / "targets" / self._target.name)}'
123125
] + [
124126
f'-include {self.path(path)}' for path in details.include_files
125127
] + [

0 commit comments

Comments
 (0)