Skip to content
Discussion options

You must be logged in to vote

Thanks for the exceptionally detailed report. This was exactly the root cause.

The fix landed in jdx/ruby#55: the portability patch now removes PKG_CONFIG from both RbConfig::CONFIG and RbConfig::MAKEFILE_CONFIG, allowing mkmf to honor ENV["PKG_CONFIG"] or find pkg-config on PATH.

I rebuilt the current supported patch releases from the fixed commit:

The floating release tags now point at those fixed builds. I also tested the published macOS 4.0.5 artifact through mise with ruby.compile = false: both PKG_CONFIG keys were absent, ruby-magic 0.6.0 built successfully using Homebrew pkg-config, and its native extension loaded correctly.

A…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jaredlt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants