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
651 652 653 654 655 656 657 |
# File 'lib/daedalus.rb', line 651 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
647 648 649 |
# File 'lib/daedalus.rb', line 647 def library "#{@library}.#{RbConfig::CONFIG["DLEXT"]}" end |