summaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-12-10 10:45:29 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-12-16 10:08:34 -0800
commitaac5b484764e1ef25f64d474a748406a6bd99a8a (patch)
treed36f4596154f5862ce9429df95cd54be900ccd22 /mesonbuild/interpreter
parent02006281ad4a1c39479456c95d6195b9914e3dd4 (diff)
downloadmeson-aac5b484764e1ef25f64d474a748406a6bd99a8a.tar.gz
build: cleanup include_directories code
With the previous change the build layer no longer needs to be concerned about strings
Diffstat (limited to 'mesonbuild/interpreter')
-rw-r--r--mesonbuild/interpreter/interpreter.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index 10970b552..3a0cae041 100644
--- a/mesonbuild/interpreter/interpreter.py
+++ b/mesonbuild/interpreter/interpreter.py
@@ -3473,6 +3473,7 @@ class Interpreter(InterpreterBase, HoldableObject):
if targetclass is not build.Jar:
self.check_for_jar_sources(sources, targetclass)
+ kwargs['include_directories'] = self.extract_incdirs(kwargs['include_directories'])
kwargs['d_import_dirs'] = self.extract_incdirs(kwargs['d_import_dirs'], True)
missing: T.List[str] = []
for each in itertools.chain(kwargs['c_pch'] or [], kwargs['cpp_pch'] or []):
@@ -3517,8 +3518,6 @@ class Interpreter(InterpreterBase, HoldableObject):
node=node)
outputs.update(o)
- kwargs['include_directories'] = self.extract_incdirs(kwargs['include_directories'])
-
if targetclass is build.Executable:
kwargs = T.cast('kwtypes.Executable', kwargs)
if kwargs['gui_app'] is not None: