cmake: Fix OSX fixup_bundle.sh to copy non-system deps

Without this fix, the fixup script misses any non-system dependencies
that are not in the /Users or /opt directories.

Closes jp9000/obs-studio#618
This commit is contained in:
Serge Paquet 2016-09-14 10:37:34 -04:00 committed by jp9000
parent 2f305cb550
commit ae9158216e

View File

@ -9,7 +9,9 @@ cd "$1"
function buildlist() {
otool -L "$@" |
grep -E "(opt|Users)" |
grep -E '^\s+/' |
grep -vE '^\s+/System/' |
grep -vE '^\s+/usr/lib/' |
perl -pe 's|^\s+(/.*)\s\(.*$|$1|' |
grep -vE ":$" |
sort -u