Commit d06361fe authored by HIGUCHI Daisuke (VDR dai)'s avatar HIGUCHI Daisuke (VDR dai)

Updated version 1.15.9 from 'upstream/1.15.9'

with Debian dir 9c7ee87e4e2fcdf4162e1b9f1aa9c297cf817a90
parents 9050e898 38b42eb6
Release 1.15.9 (2017-06-03) Kouhei Sutou <kou@cozmixng.org>
===========================================================
Improvements
------------
* Supported RubyInstaller2.
[GitHub#47][Reported by PLURIX]
Thanks
------
* PLURIX
Release 1.15.8 (2017-05-29) Kouhei Sutou <kou@cozmixng.org>
===========================================================
......
......@@ -73,7 +73,7 @@ RB_CAIRO_BEGIN_DECLS
#define RB_CAIRO_VERSION_MAJOR 1
#define RB_CAIRO_VERSION_MINOR 15
#define RB_CAIRO_VERSION_MICRO 8
#define RB_CAIRO_VERSION_MICRO 9
RB_CAIRO_VAR VALUE rb_mCairo;
RB_CAIRO_VAR VALUE rb_cCairo_Context;
......
......@@ -6,9 +6,15 @@ if /mingw|mswin|mswin32/ =~ RUBY_PLATFORM
base_dir = base_dir.parent + "vendor" + "local"
if base_dir.exist?
base_dir = base_dir.to_s.gsub(/\//, "\\")
ENV["PATH"] = %w(bin lib).collect do |dir|
"#{base_dir}\\#{dir};"
end.join("") + ENV["PATH"]
begin
require "ruby_installer/runtime"
rescue LoadError
ENV["PATH"] = %w(bin lib).collect do |dir|
"#{base_dir}\\#{dir};"
end.join("") + ENV["PATH"]
else
RubyInstaller::Runtime.add_dll_directory("#{base_dir}\\bin")
end
else
require "rbconfig"
ENV["PATH"] = %w(bin lib).collect do |dir|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment