mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-09 01:39:12 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
dde5cd1c54
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ def system_libs(binary: str) -> List[Path]:
|
||||||
|
|
||||||
# Actually query xxxxxx-gcc to find its include paths.
|
# Actually query xxxxxx-gcc to find its include paths.
|
||||||
if binary.endswith("gcc") or binary.endswith("g++"):
|
if binary.endswith("gcc") or binary.endswith("g++"):
|
||||||
result = cli.run([binary, '-E', '-Wp,-v', '-'], capture_output=True, check=True, input='\n')
|
# (TODO): Remove 'stdin' once 'input' no longer causes issues under MSYS
|
||||||
|
result = cli.run([binary, '-E', '-Wp,-v', '-'], capture_output=True, check=True, stdin=None, input='\n')
|
||||||
paths = []
|
paths = []
|
||||||
for line in result.stderr.splitlines():
|
for line in result.stderr.splitlines():
|
||||||
if line.startswith(" "):
|
if line.startswith(" "):
|
||||||
|
|
Loading…
Reference in a new issue