ruby-internal 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/mkmf-ruby-internal.rb +3 -3
  2. metadata +1 -1
@@ -98,14 +98,14 @@ END
98
98
  end
99
99
 
100
100
  base_dir = File.dirname(__FILE__)
101
- $CPPFLAGS << " -I#{base_dir}"
101
+ $CPPFLAGS.gsub!(/^/, "-I#{base_dir} ")
102
102
 
103
103
  ruby_version_code = RUBY_VERSION.gsub(/\./, '').to_i
104
104
  if ruby_version_code >= 190 then
105
105
  if USING_CACHED_FILES then
106
- $CPPFLAGS << " -I#{base_dir}/internal/yarv-headers"
106
+ $CPPFLAGS.gsub!(/^/, "-I#{base_dir}/internal/yarv-headers ")
107
107
  else
108
- $CPPFLAGS << " -I#{RUBY_SOURCE_DIR}"
108
+ $CPPFLAGS.gsub!(/^/, "-I#{RUBY_SOURCE_DIR} ")
109
109
  end
110
110
  end
111
111
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-internal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: