|
|
5515ae |
From 783c55103daac6240dd4117a14873df0ac038cf6 Mon Sep 17 00:00:00 2001
|
|
|
5515ae |
From: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
5515ae |
Date: Thu, 3 Nov 2022 12:13:10 +0100
|
|
|
5515ae |
Subject: [PATCH 8/9] Revert "use shared implementation to convert files()
|
|
|
5515ae |
strings to File objects"
|
|
|
5515ae |
Content-Type: text/plain
|
|
|
5515ae |
|
|
|
5515ae |
This reverts commit e6e8159980e9a4c816223fcdac8c729d104c0c02.
|
|
|
5515ae |
It causes a failure to build gtk-vnc.
|
|
|
5515ae |
---
|
|
|
5515ae |
mesonbuild/interpreter/interpreter.py | 2 +-
|
|
|
5515ae |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
5515ae |
|
|
|
5515ae |
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
|
|
|
5515ae |
index b52a55890..caf28f8bd 100644
|
|
|
5515ae |
--- a/mesonbuild/interpreter/interpreter.py
|
|
|
5515ae |
+++ b/mesonbuild/interpreter/interpreter.py
|
|
|
5515ae |
@@ -645,7 +645,7 @@ class Interpreter(InterpreterBase, HoldableObject):
|
|
|
5515ae |
@typed_pos_args('files', varargs=str)
|
|
|
5515ae |
@noKwargs
|
|
|
5515ae |
def func_files(self, node: mparser.FunctionNode, args: T.Tuple[T.List[str]], kwargs: 'TYPE_kwargs') -> T.List[mesonlib.File]:
|
|
|
5515ae |
- return self.source_strings_to_files(args[0])
|
|
|
5515ae |
+ return [mesonlib.File.from_source_file(self.environment.source_dir, self.subdir, fname) for fname in args[0]]
|
|
|
5515ae |
|
|
|
5515ae |
# Used by pkgconfig.generate()
|
|
|
5515ae |
def extract_variables(self, kwargs: T.Dict[str, T.Union[T.Dict[str, str], T.List[str], str]],
|
|
|
5515ae |
--
|
|
|
5515ae |
2.38.1
|
|
|
5515ae |
|