Top Level Namespace

Defined Under Namespace

Modules: Swift

Instance Method Summary collapse

Instance Method Details

#ensure_library(name, lib_paths, hint = nil) ⇒ Object



21
22
23
24
25
26
# File 'ext/swift/db/sqlite3/extconf.rb', line 21

def ensure_library name, lib_paths, hint = nil
  unless find_library(name, 'main', *lib_paths)
    puts $/, '#' * 80, hint, '#' * 80, $/ if hint
    raise "unable to find #{name}"
  end
end