From f6dd5aee5b2ed144a8313a92290771947028e5b6 Mon Sep 17 00:00:00 2001 From: Kevin Hartman Date: Wed, 20 May 2020 20:45:25 -0400 Subject: [PATCH] [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. --- scripts/buildsystems/osx/applocal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/buildsystems/osx/applocal.py b/scripts/buildsystems/osx/applocal.py index b3f8f138e8409a..e01223c7e75d6b 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