ext/extconf.rb in swift-0.13.0 vs ext/extconf.rb in swift-0.14.0

- old
+ new

@@ -1,11 +1,13 @@ #!/usr/bin/env ruby require 'mkmf' -Config::CONFIG['CC'] = 'g++' -Config::CONFIG['CPP'] = 'g++' +ConfigClass = defined?(RbConfig) ? RbConfig : Config +ConfigClass::CONFIG['CC'] = 'g++' +ConfigClass::CONFIG['CPP'] = 'g++' + $CFLAGS = '-fPIC -Os -I/usr/include -I/opt/local/include -I/usr/local/include' def apt_install_hint pkg "sudo apt-get install #{pkg}" end @@ -53,8 +55,7 @@ exit 1 unless library_installed? 'pcrecpp', apt_install_hint('libpcre3-dev') exit 1 unless library_installed? 'uuid', apt_install_hint('uuid-dev') exit 1 unless library_installed? 'dbic++', apt_install_hint('dbic++-dev') -assert_dbicpp_version '0.5.9' - +assert_dbicpp_version '0.6.0' create_makefile 'swift'