instiki/vendor/plugins/sqlite3-ruby/ext/sqlite3_api/extconf.rb

11 lines
264 B
Ruby
Raw Normal View History

require 'mkmf'
2009-12-23 03:48:32 +01:00
dir_config( "sqlite3" )
have_library( "rt", "fdatasync" )
2009-12-23 03:48:32 +01:00
if have_header( "sqlite3.h" ) && have_library( "sqlite3", "sqlite3_open" ) then
$CFLAGS << " -fno-strict-aliasing" unless RUBY_PLATFORM =~ /mswin/
create_makefile( "sqlite3_api" )
end