cmake: Fix permissions with OSX fixup_bundle.sh

Fixes an issue where the files copied by fixup_bundle.sh will not work
with install_name_tool without proper permissions.

Closes jp9000/obs-studio#618
This commit is contained in:
Serge Paquet 2016-11-24 07:11:08 -08:00 committed by jp9000
parent ae9158216e
commit 64559a0cb8

View File

@ -36,6 +36,7 @@ for lib in $FOUNDLIBS; do
INTOOL_CALL+=(-change "$lib" "$LDEST/$libname")
cp "$lib" "$DEST/$libname"
chmod 644 "$DEST/$libname"
echo "Fixing up dependency: $libname"
done