Browse Source

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
Serge Paquet 9 years ago
parent
commit
64559a0cb8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cmake/osxbundle/fixup_bundle.sh

+ 1 - 0
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