mac: use the LIB var to refer to frameworks dir.

This commit is contained in:
Benitoite
2020-02-17 15:35:31 -08:00
committed by GitHub
parent 007fe17e48
commit 85bffa1038

View File

@@ -254,7 +254,7 @@ ModifyInstallNames
# fix @rpath in Frameworks # fix @rpath in Frameworks
msg "Registering @rpath in Frameworks folder:" msg "Registering @rpath in Frameworks folder:"
for frameworklibs in "${CONTENTS}"/Frameworks/* ; do for frameworklibs in "${LIB}"/* ; do
echo " install_name_tool -delete_rpath ${LOCAL_PREFIX}/local/lib '${frameworklibs}'" | bash -v echo " install_name_tool -delete_rpath ${LOCAL_PREFIX}/local/lib '${frameworklibs}'" | bash -v
echo " install_name_tool -add_rpath /Applications/RawTherapee.app/Contents/Frameworks '${frameworklibs}'" | bash -v echo " install_name_tool -add_rpath /Applications/RawTherapee.app/Contents/Frameworks '${frameworklibs}'" | bash -v
done done