1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 04:35:13 +03:00
aports/testing/dart/fix-pkg-config.patch
2023-03-04 22:06:39 +00:00

12 lines
523 B
Diff

upstreaming in https://github.com/dart-lang/sdk/pull/51614
--- a/build/config/linux/pkg-config.py
+++ b/build/config/linux/pkg-config.py
@@ -161,7 +161,7 @@
# For now just split on spaces to get the args out. This will break if
# pkgconfig returns quoted things with spaces in them, but that doesn't seem
# to happen in practice.
- all_flags = flag_string.strip().split(' ')
+ all_flags = flag_string.decode('utf-8').strip().split(' ')
except:
print("Could not run pkg-config.")
sys.exit(1)