Class: Libv8::Location::System

Inherits:
Libv8::Location show all
Defined in:
ext/libv8/location.rb

Defined Under Namespace

Classes: NotFoundError

Instance Method Summary collapse

Methods inherited from Libv8::Location

#install!, load!

Instance Method Details

#configure(context = MkmfContext.new) ⇒ Object



48
49
50
51
52
# File 'ext/libv8/location.rb', line 48

def configure(context = MkmfContext.new)
  context.send(:dir_config, 'v8')
  context.send(:find_header, 'v8.h') or fail NotFoundError
  context.send(:have_library, 'v8') or fail NotFoundError
end