Skip to content

Commit

Permalink
Workaround for libxcb dependency linking
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonShiao committed Oct 28, 2022
1 parent 3523d97 commit 45e0481
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-release.yml
Expand Up @@ -135,6 +135,12 @@ jobs:
cd build
$RUNNER_WORKSPACE/Qt/5.15.2/clang_64/bin/macdeployqt Swiftray.app -qmldir=${{ github.workspace }}/src/windows/qml -verbose=2
- name: Workaround for libxcb dependencies
run: |
cd build/Swiftray.app/Contents/Frameworks
install_name_tool -change /usr/local/Cellar/libxcb/1.15/lib/libxcb.1.dylib @executable_path/../Frameworks/libxcb.1.dylib libxcb-shm.0.dylib
install_name_tool -change /usr/local/Cellar/libxcb/1.15/lib/libxcb.1.dylib @executable_path/../Frameworks/libxcb.1.dylib libxcb-render.0.dylib
- name: Select XCode version (workaround for codesign fail)
if: ${{matrix.cfg.build == 'qmake' }}
uses: maxim-lobanov/setup-xcode@v1
Expand Down

0 comments on commit 45e0481

Please sign in to comment.