From bb5669c305429edf6159f78a34e9948a31f25adf Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Mon, 21 Sep 2020 11:56:53 +1000 Subject: [PATCH] ci: fix ocio lib path --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07ebcbdd7..c5bd259ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,6 +147,10 @@ jobs: then export BUNDLE_NAME=Olive.app mv app/$BUNDLE_NAME . + + # HACK: OCIO doesn't link it's library properly so we need to manually correct + install_name_tool -change libOpenColorIO.1.dylib /usr/local/lib/libOpenColorIO.1.dylib $BUNDLE_NAME/Contents/MacOS/Olive + macdeployqt $BUNDLE_NAME $DOWNLOAD_TOOL https://github.com/arl/macdeployqtfix/raw/master/macdeployqtfix.py python2 macdeployqtfix.py $BUNDLE_NAME/Contents/MacOS/Olive /usr/local/Cellar/qt5/5.*/