Skip to content

Commit

Permalink
actions: fix homebrew location detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mcallegari committed Jan 12, 2025
1 parent 4fc3f5e commit e1a448b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -581,8 +581,6 @@ jobs:
- name: Fix non-Qt dependencies
shell: bash
run: |-
export
echo "HB prefix: ${HOMEBREW_PREFIX} --OR-- ${{ env.HOMEBREW_PREFIX }}"
echo "Dependencies BEFORE"
otool -L ~/QLC+.app/Contents/Frameworks/libsndfile.1.dylib
platforms/macos/fix_dylib_deps.sh ~/QLC+.app/Contents/Frameworks/libsndfile.1.dylib
Expand Down
6 changes: 1 addition & 5 deletions platforms/macos/fix_dylib_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ if [ -z "$1" ]; then
exit 1
fi

if [ -z "$HOMEBREW_PREFIX" ]; then
echo "HOMEBREW_PREFIX is not set. Please set it to the Homebrew installation path."
exit 1
fi

HOMEBREW_PREFIX=`brew --prefix`
SRC_DYLIB="$1"
FRAMEWORKS_DIR=~/QLC+.app/Contents/Frameworks

Expand Down

0 comments on commit e1a448b

Please sign in to comment.