Class: Daedalus::SharedLibrary
Instance Attribute Summary
Attributes inherited from Library
Instance Method Summary collapse
Methods inherited from Library
#clean, #consider, #initialize, #name, #object_files, #out_of_date?, #path, #source_files
Constructor Details
This class inherits a constructor from Daedalus::Library
Instance Method Details
#build(compiler) ⇒ Object
630 631 632 633 634 635 636 |
# File 'lib/daedalus.rb', line 630 def build(compiler) Dir.chdir @base do # TODO: out of date checking should be subsumed in building @sources.each { |s| s.build @compiler if s.out_of_date? @compiler } @compiler.link_shared name, object_files end end |
#library ⇒ Object
626 627 628 |
# File 'lib/daedalus.rb', line 626 def library "#{@library}.#{RbConfig::CONFIG["DLEXT"]}" end |