Add Debian platform autodetect to env2mfile.

pull/11478/head
Jussi Pakkanen 2 years ago
parent c2db6eb2e2
commit bc38db035e
  1. 2
      mesonbuild/scripts/env2mfile.py

@ -160,7 +160,7 @@ def deb_compiler_lookup(infos: MachineInfo, compilerstems: T.List[T.Tuple[str, s
pass
def detect_cross_debianlike(options: T.Any) -> MachineInfo:
if options.debarch is None:
if options.debarch == 'auto':
cmd = ['dpkg-architecture']
else:
cmd = ['dpkg-architecture', '-a' + options.debarch]

Loading…
Cancel
Save