diff options
| author | Karol Herbst <kherbst@redhat.com> | 2023-12-11 16:58:58 +0100 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2023-12-20 13:36:23 +0530 |
| commit | 0c3e84bbaf39a4b7f6dfd48faaee7adf61287b36 (patch) | |
| tree | d1b1f4b17c72a10c3d7df8a3cffb706939c1a653 /mesonbuild/dependencies | |
| parent | 059b9e048d3b69f3aa62c559e9c0da8c7b943bfd (diff) | |
| download | meson-0c3e84bbaf39a4b7f6dfd48faaee7adf61287b36.tar.gz | |
dependencies/llvm: strip default include dirs also for config-tool version
This should have been done in my earlier fix, but kinda forgot to test and
fix it there as well.
See https://github.com/mesonbuild/meson/pull/11733 for the discussion.
Fixes: 8284be813 ("dependencies/llvm: strip default include dirs")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Diffstat (limited to 'mesonbuild/dependencies')
| -rw-r--r-- | mesonbuild/dependencies/dev.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/dependencies/dev.py b/mesonbuild/dependencies/dev.py index b4732e4d2..17642878d 100644 --- a/mesonbuild/dependencies/dev.py +++ b/mesonbuild/dependencies/dev.py @@ -218,6 +218,7 @@ class LLVMDependencyConfigTool(ConfigToolDependency): cargs = mesonlib.OrderedSet(self.get_config_value(['--cppflags'], 'compile_args')) self.compile_args = list(cargs.difference(self.__cpp_blacklist)) + self.compile_args = strip_system_includedirs(environment, self.for_machine, self.compile_args) if version_compare(self.version, '>= 3.9'): self._set_new_link_args(environment) |
