Skip to content

Commit 3325e8c

Browse files
committed
fix: add additional libjack location candidate for macOS / homebrew
Signed-off-by: Christopher Arndt <[email protected]>
1 parent f5d3735 commit 3325e8c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ jobs:
5353
- name: Update DYLD_LIBRARY_PATH (macOS)
5454
if: runner.os == 'macOS'
5555
run: |
56-
find $(brew --prefix)/opt/jack/
57-
echo "DYLD_LIBRARY_PATH=$(brew --prefix)/lib" >> "$GITHUB_ENV"
56+
echo "DYLD_LIBRARY_PATH=$(brew --prefix)/opt/jack/lib" >> "$GITHUB_ENV"
5857
- name: Run tests
5958
run: nimble test -y
6059
- name: Build examples (debug)

src/jacket.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ proc getJackLibName: string =
99
else:
1010
result = "libjack64.dll"
1111
elif system.hostOS == "macosx":
12-
result = "(|/usr/local/lib/|/opt/homebrew/lib/|/opt/local/lib/)libjack.dylib"
12+
result = "(|/usr/local/lib/|/opt/homebrew/lib/|/opt/homebrew/opt/jack/lib/|/opt/local/lib/)libjack.dylib"
1313
else:
1414
result = "libjack.so.0"
1515

0 commit comments

Comments
 (0)