use rpath instead of absolute path

This commit is contained in:
itsmattkc
2020-09-21 13:48:00 +10:00
parent 8f5688b0fd
commit e4b6d72b59
+1 -1
View File
@@ -149,7 +149,7 @@ jobs:
mv app/$BUNDLE_NAME .
# HACK: OCIO doesn't link it's library properly so we need to manually correct
install_name_tool -change /usr/lib/libOpenColorIO.1.dylib /usr/local/lib/libOpenColorIO.1.dylib $BUNDLE_NAME/Contents/MacOS/Olive
install_name_tool -change libOpenColorIO.1.dylib @rpath/libOpenColorIO.1.dylib $BUNDLE_NAME/Contents/MacOS/Olive
macdeployqt $BUNDLE_NAME
$DOWNLOAD_TOOL https://github.com/arl/macdeployqtfix/raw/master/macdeployqtfix.py