32 worked around a backwards-incompatible change in Ruby 3.1's MakeMakefile.pkg_config by monkeypatching that (rather long and complicated) method.
This greatly simplifies the workaround by using xpopen to run the pkg-config command directly. This approach is what I'm using in the rebuild of sqlite3-ruby's precompiled native gems at https://github.com/sparklemotion/sqlite3-ruby/pull/320
There should be no change in build/installation experience, it's just deleting a lot of unnecessary code.
32 worked around a backwards-incompatible change in Ruby 3.1's
MakeMakefile.pkg_config
by monkeypatching that (rather long and complicated) method.This greatly simplifies the workaround by using
xpopen
to run thepkg-config
command directly. This approach is what I'm using in the rebuild of sqlite3-ruby's precompiled native gems at https://github.com/sparklemotion/sqlite3-ruby/pull/320There should be no change in build/installation experience, it's just deleting a lot of unnecessary code.