Sha256: 2d3e998754a60c82580a2bceedcb7a59d4865aa3dc936e4e47819d428e0a9070

Contents?: true

Size: 542 Bytes

Versions: 6

Compression:

Stored size: 542 Bytes

Contents

require 'mkmf'
require 'rbconfig'

# make available table and column meta data api
$CFLAGS += " -DSQLITE_ENABLE_COLUMN_METADATA=1"  
$CFLAGS += " -DSQLITE_ENABLE_RTREE=1"
$CFLAGS += " -DSQLITE_OMIT_BUILTIN_TEST=1"

# we compile sqlite the same way that the installation of ruby is compiled.
if Config::CONFIG['configure_args'].include?( "--enable-pthread" ) then
  $CFLAGS += " -DSQLITE_THREADSAFE=1"
else
  $CFLAGS += " -DSQLITE_THREADSAFE=0"
end

# remove the -g if it exists
$CFLAGS = $CFLAGS.gsub(/-g/,'')

create_makefile('amalgalite3')

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
amalgalite-0.5.0-x86-mswin32-60 ext/extconf.rb
amalgalite-0.4.2 ext/extconf.rb
amalgalite-0.4.2-x86-mswin32-60 ext/extconf.rb
amalgalite-0.5.0 ext/extconf.rb
amalgalite-0.5.1 ext/extconf.rb
amalgalite-0.5.1-x86-mswin32-60 ext/extconf.rb