From 64559a0cb8c9f4991c3a06786da9e89e9ba1cd45 Mon Sep 17 00:00:00 2001 From: Serge Paquet Date: Thu, 24 Nov 2016 07:11:08 -0800 Subject: [PATCH] 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 --- cmake/osxbundle/fixup_bundle.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/osxbundle/fixup_bundle.sh b/cmake/osxbundle/fixup_bundle.sh index 513497867..7eb501dde 100755 --- a/cmake/osxbundle/fixup_bundle.sh +++ b/cmake/osxbundle/fixup_bundle.sh @@ -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