Skip to content

Commit

Permalink
[vcpkg] Fix macOS applocal.py dependency bundling. (#11057)
Browse files Browse the repository at this point in the history
This is the same issue and fix applied here OpenZWave/ozw-admin#4.
  • Loading branch information
kevinhartman authored May 21, 2020
1 parent 0567431 commit f6dd5ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/buildsystems/osx/applocal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6dd5ae

Please sign in to comment.