ExternalProgram: Do special windows tricks even when name is provided

Closes: #7051
pull/7059/head
Xavier Claessens 5 years ago
parent c5d2299cac
commit 9ddbcd301a
  1. 4
      mesonbuild/dependencies/base.py

@ -1800,6 +1800,10 @@ class ExternalProgram:
self.name = name
if command is not None:
self.command = listify(command)
if mesonlib.is_windows():
cmd = self.command[0]
args = self.command[1:]
self.command = self._search_windows_special_cases(name, cmd) + args
else:
all_search_dirs = [search_dir]
if extra_search_dirs:

Loading…
Cancel
Save