Class: Cxxproject::SharedLibsHelper
- Inherits:
-
Object
- Object
- Cxxproject::SharedLibsHelper
- Defined in:
- lib/cxxproject/buildingblocks/shared_libs_helper.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#symlink_lib_to(link, bb) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/cxxproject/buildingblocks/shared_libs_helper.rb', line 3 def symlink_lib_to(link, bb) file = File.basename(bb.executable_name) if file != link cd "#{bb.output_dir}/libs" do symlink(file, link) end end end |