Class: Inliner::Compilers::GPlusPlus
- Defined in:
- lib/ffi-inliner/inliner.rb
Instance Attribute Summary
Attributes inherited from Compiler
Instance Method Summary collapse
Methods inherited from GCC
Methods inherited from Compiler
check_and_create, #compile, #initialize
Constructor Details
This class inherits a constructor from Inliner::Compilers::Compiler
Instance Method Details
#ldshared ⇒ Object
101 102 103 104 105 106 107 |
# File 'lib/ffi-inliner/inliner.rb', line 101 def ldshared if Config::CONFIG['target_os'] =~ /darwin/ 'g++ -dynamic -bundle -fPIC' else 'g++ -shared -fPIC' end end |