Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libexec/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,8 @@ module RbConfig
config["AR"] = "ar"
config["NM"] = "nm"
config["RANLIB"] = "ranlib"
# Let mkmf honor ENV["PKG_CONFIG"] or find pkg-config on PATH.
config.delete("PKG_CONFIG")
%w[CFLAGS CPPFLAGS CXXFLAGS XCFLAGS XCXXFLAGS LDFLAGS DLDFLAGS LIBS LDSHARED LDSHAREDXX DLDSHARED cflags cxxflags hardenflags warnflags].each do |key|
next unless config[key]
scrub_patterns.each { |pattern| config[key] = config[key].gsub(pattern, "") }
Expand Down