Removed unnecessary silencing of stderr

This commit is contained in:
Andrew Murray 2023-03-31 06:14:35 +11:00
parent d850ac7a58
commit 17a0a2ee3e

View File

@ -273,9 +273,7 @@ def _pkg_config(name):
)[::2][1:]
cflags = re.split(
r"(^|\s+)-I",
subprocess.check_output(command_cflags, stderr=stderr)
.decode("utf8")
.strip(),
subprocess.check_output(command_cflags).decode("utf8").strip(),
)[::2][1:]
return libs, cflags
except Exception: