aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-09-18 10:28:14 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-11-14 15:57:37 -0800
commit95403cb61520978c52b3693a9bf0119e8348c20b (patch)
treeaff931dbdd7241075d5f52c9a1bd24f5c05e63dd /mesonbuild/interpreter.py
parent5a9c9c70df17c8f1ba900933574586c46c3d096f (diff)
downloadmeson-95403cb61520978c52b3693a9bf0119e8348c20b.zip
meson-95403cb61520978c52b3693a9bf0119e8348c20b.tar.gz
meson-95403cb61520978c52b3693a9bf0119e8348c20b.tar.bz2
replace ExternalProgram.from_cross_info with from_bin_list
This more generic method will also be used to check a config file for binary information.
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index d7a5b66..73c21fd 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -2757,7 +2757,7 @@ external dependencies (including libraries) must go to "dependencies".''')
continue # Always points to a local (i.e. self generated) file.
if not isinstance(p, str):
raise InterpreterException('Executable name must be a string')
- prog = ExternalProgram.from_cross_info(cross_info, p)
+ prog = ExternalProgram.from_bin_list(bins, p)
if prog.found():
return ExternalProgramHolder(prog)
return None