Sha256: e8c53bf7f3b6f26deb909d9f0873b1805f56fb8968efc0a545b5e79a1d390803
Contents?: true
Size: 484 Bytes
Versions: 1
Compression:
Stored size: 484 Bytes
Contents
require 'rubygems' require 'mkrf' require 'rbconfig' Mkrf::Generator.new('amalgalite3') do |g| # turn on some compilation options g.cflags << " -DSQLITE_ENABLE_COLUMN_METADATA=1" # make available table and column meta data api # we compile sqlite the same way that the installation of ruby is compiled. if Config::CONFIG['configure_args'].include?( "--enable-pthread" ) then g.cflags << " -DSQLITE_THREADSAFE=1" else g.cflags << " -DSQLITE_THREADSAFE=0" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amalgalite-0.2.1 | ext/mkrf_conf.rb |