aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKevin Hartman <kevin@hart.mn>2020-05-20 20:45:25 -0400
committerGitHub <noreply@github.com>2020-05-20 17:45:25 -0700
commitf6dd5aee5b2ed144a8313a92290771947028e5b6 (patch)
tree4adeb7f7f7483e84b8131db8f201c2f57599e64b /scripts
parent056743134a002880afa55717b592230bb4842124 (diff)
downloadvcpkg-f6dd5aee5b2ed144a8313a92290771947028e5b6.tar.gz
vcpkg-f6dd5aee5b2ed144a8313a92290771947028e5b6.zip
[vcpkg] Fix macOS applocal.py dependency bundling. (#11057)
This is the same issue and fix applied here https://github.com/OpenZWave/ozw-admin/issues/4.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/buildsystems/osx/applocal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildsystems/osx/applocal.py b/scripts/buildsystems/osx/applocal.py
index b3f8f138e..e01223c7e 100644
--- a/scripts/buildsystems/osx/applocal.py
+++ b/scripts/buildsystems/osx/applocal.py
@@ -84,7 +84,7 @@ def get_dependencies(filename):
deps = []
if proc_out.retcode == 0:
# some string splitting
- deps = [s.strip().split(' ')[0] for s in proc_out.stdout.splitlines()[1:] if s]
+ deps = [s.strip().split(b' ')[0].decode('utf-8') for s in proc_out.stdout.splitlines()[1:] if s]
# prevent infinite recursion when a binary depends on itself (seen with QtWidgets)...
deps = [s for s in deps if os.path.basename(filename) not in s]
return deps