Method: MakeMakefile#append_ldflags
- Defined in:
- lib/mkmf.rb
#append_ldflags(flags, *opts) ⇒ Object
687 688 689 690 691 692 693 694 695 |
# File 'lib/mkmf.rb', line 687 def append_ldflags(flags, *opts) Array(flags).each do |flag| if checking_for("whether #{flag} is accepted as LDFLAGS") { try_ldflags(flag, *opts) } $LDFLAGS << " " << flag end end end |