Skip to content

fix(build): mac dylibbundler finds Homebrew's @rpath libs instead of hanging - #25

Merged
mattromano merged 1 commit into
customfrom
fix/mac-dylibbundler-rpath
Nov 12, 2026
Merged

mattromano merged 1 commit into
customfrom
fix/mac-dylibbundler-rpath

Conversation

@mattromano

Copy link
Copy Markdown
Owner

The v0.4.17 and v0.4.18 Mac builds hung for hours: Homebrew's fluidsynth links @rpath/libfluidsynth.3.dylib, dylibbundler prompted for its directory, and with no stdin in CI it looped on "does not exist. Try again" until the job timed out.

  • Pass Homebrew's lib dirs (brew --prefix/lib and the fluid-synth keg) with -s.
  • Answer any further prompt with quit, and fail the build with a clear error instead of hanging.
  • The loop moves into bundle_brew_dylibs(); tests/build-macos-dylibs.test.js runs it with stubs.

🤖 Generated with Claude Code

…hanging

Homebrew's fluidsynth links @rpath/libfluidsynth.3.dylib. dylibbundler had
no search path for it, prompted for a directory, read EOF forever in CI, and
the v0.4.17/v0.4.18 Mac jobs spun until they timed out. Pass Homebrew's lib
dirs with -s, answer any prompt with "quit", and fail the build with a clear
error when a library still can't be found. The loop moves into
bundle_brew_dylibs() so a test can run it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mattromano
mattromano merged commit 1b39b83 into custom Nov 12, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant