diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-08-15 23:27:27 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-08-15 23:27:27 -0400 |
commit | 33a5352e3c56c3d245aed48005515f097ab2ab53 (patch) | |
tree | f48e50850da244f806614b6ad44ec3cfb4a18692 | |
parent | d141b85462fd8560eab9d1d8ae23978426f06907 (diff) | |
download | meson-33a5352e3c56c3d245aed48005515f097ab2ab53.zip meson-33a5352e3c56c3d245aed48005515f097ab2ab53.tar.gz meson-33a5352e3c56c3d245aed48005515f097ab2ab53.tar.bz2 |
make add_project_dependencies respect build version of include dirs
Fixes #10695
-rw-r--r-- | mesonbuild/interpreter/interpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index cb3630d..c897494 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -2753,7 +2753,7 @@ class Interpreter(InterpreterBase, HoldableObject): for i in d.get_include_dirs(): for lang in kwargs['language']: comp = self.coredata.compilers[for_machine][lang] - for idir in i.to_string_list(self.environment.get_source_dir()): + for idir in i.to_string_list(self.environment.get_source_dir(), self.environment.get_build_dir()): compile_args.extend(comp.get_include_args(idir, system_incdir)) self._add_project_arguments(node, self.build.projects_args[for_machine], compile_args, kwargs) |