diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-09-18 10:28:14 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-11-14 15:57:37 -0800 |
commit | 95403cb61520978c52b3693a9bf0119e8348c20b (patch) | |
tree | aff931dbdd7241075d5f52c9a1bd24f5c05e63dd /mesonbuild/interpreter.py | |
parent | 5a9c9c70df17c8f1ba900933574586c46c3d096f (diff) | |
download | meson-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.py | 2 |
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 |