Update to Ruby 2.3

This commit is contained in:
Josh Holtrop 2016-06-27 11:02:22 -04:00
parent 0244338e94
commit 3f4838b04c
2 changed files with 1 additions and 3 deletions

View File

@ -33,7 +33,7 @@ base_env = Rscons::Environment.new do |env|
-L#{sdl2_location}/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2 -mwindows
EOF
else
env.parse_flags!("!pkg-config --cflags --libs ruby-1.9")
env.parse_flags!("!pkg-config --cflags --libs ruby-2.3")
env.parse_flags!("!freetype-config --cflags --libs")
env.parse_flags!("!sdl2-config --cflags --libs")
end

View File

@ -12,8 +12,6 @@
using namespace std;
RUBY_GLOBAL_SETUP
static const char * ruby_string(VALUE obj)
{
VALUE s = rb_funcall(obj, rb_intern("to_s"), 0);