We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57453eb commit 155c6dbCopy full SHA for 155c6db
ext/sqlite3/extconf.rb
@@ -69,6 +69,9 @@ def configure_packaged_libraries
69
# on macos, pkg-config will not return --cflags without this
70
ENV["PKG_CONFIG_ALLOW_SYSTEM_CFLAGS"] = "t"
71
72
+ # only needed for Ruby 3.1.3, see https://bugs.ruby-lang.org/issues/19233
73
+ RbConfig::CONFIG["PKG_CONFIG"] = config_string("PKG_CONFIG") || "pkg-config"
74
+
75
lib_path = File.join(recipe.path, "lib")
76
pcfile = File.join(lib_path, "pkgconfig", "sqlite3.pc")
77
abort_pkg_config("pkg_config") unless pkg_config(pcfile)
0 commit comments