Skip to content

Commit

Permalink
[github-actions] fix MacOS build error: unlink pkg-config before rein…
Browse files Browse the repository at this point in the history
…stalling (#2596)

Fix macOS build issue caused by pkg-config conflicts.

Unlinking pkg-config before reinstalling it in the MacOS build
workflow. This resolves issues arising from stale or conflicting
installations of pkg-config, which can lead to build failures.
  • Loading branch information
yangsong-cnyn authored Nov 13, 2024
1 parent ef7bb73 commit 37341d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
rm -f /usr/local/bin/pydoc3*
rm -f /usr/local/bin/python3*
brew update
brew unlink pkg-config
brew reinstall boost cmake dbus jsoncpp ninja protobuf@21 pkg-config
- name: Build
run: |
Expand Down

0 comments on commit 37341d2

Please sign in to comment.