Skip to content

Commit

Permalink
fix: add additional libjack location candidate for macOS / homebrew
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Arndt <[email protected]>
  • Loading branch information
SpotlightKid committed Jan 23, 2025
1 parent f5d3735 commit 3325e8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ jobs:
- name: Update DYLD_LIBRARY_PATH (macOS)
if: runner.os == 'macOS'
run: |
find $(brew --prefix)/opt/jack/
echo "DYLD_LIBRARY_PATH=$(brew --prefix)/lib" >> "$GITHUB_ENV"
echo "DYLD_LIBRARY_PATH=$(brew --prefix)/opt/jack/lib" >> "$GITHUB_ENV"
- name: Run tests
run: nimble test -y
- name: Build examples (debug)
Expand Down
2 changes: 1 addition & 1 deletion src/jacket.nim
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ proc getJackLibName: string =
else:
result = "libjack64.dll"
elif system.hostOS == "macosx":
result = "(|/usr/local/lib/|/opt/homebrew/lib/|/opt/local/lib/)libjack.dylib"
result = "(|/usr/local/lib/|/opt/homebrew/lib/|/opt/homebrew/opt/jack/lib/|/opt/local/lib/)libjack.dylib"
else:
result = "libjack.so.0"

Expand Down

0 comments on commit 3325e8c

Please sign in to comment.