HomeFreeBSD

tools/build/make.py: Don't call brew --prefix if --cross-bindir is set

Description

tools/build/make.py: Don't call brew --prefix if --cross-bindir is set

Also updated the logic to use subprocess.run() instead of the old
subprocess.getoutput() which also includes stderr and therefore
can trigger an exception inside Path().exists().

Reported by: gnn

Details

Provenance
arichardsonAuthored on Feb 26 2021, 5:49 PM
Parents
rGaac21e66f94e: Also use the musl scalbn code for ldexp()
Branches
Unknown
Tags
Unknown