End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Ext::CargoBuilder#libruby_args
libruby_args(dest_dir)
lib/rubygems/ext/cargo_builder.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/ext/cargo_builder.rb, line 125
def libruby_args(dest_dir)
libs = makefile_config(ruby_static? ? "LIBRUBYARG_STATIC" : "LIBRUBYARG_SHARED")
raw_libs = Shellwords.split(libs)
raw_libs.flat_map {|l| ldflag_to_link_modifier(l) }
end
No documentation available
See also
#ldflag_to_link_modifier
#linker_args
#get_relative_path
#makefile_config
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1