File: extconf.rb

package info (click to toggle)
sqlite3-ruby 1.1.0-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 904 kB
  • ctags: 753
  • sloc: ruby: 4,099; makefile: 59
file content (8 lines) | stat: -rw-r--r-- 206 bytes parent folder | download
1
2
3
4
5
6
7
8
require 'mkmf'

dir_config( "sqlite3", "/usr/local" )

if have_header( "sqlite3.h" ) and have_library( "sqlite3", "sqlite3_open" )
  system "swig -ruby sqlite3_api.i"
  create_makefile( "sqlite3_api" )
end