ruby/lib/mkmf-rice.rb.in in rice-1.0.2 vs ruby/lib/mkmf-rice.rb.in in rice-1.1.0

- old
+ new

@@ -29,10 +29,13 @@ $RICE_USING_MINGW32 = @RICE_USING_MINGW32@ # Ruby < 1.8.6 does not have $DEFLIBPATH $DEFLIBPATH ||= [] + # We use this for the samples + $DEFLIBPATH.unshift(with_config('libpath')) if with_config('libpath') + # Ruby 1.8.6 uses $preload without setting it $preload ||= nil $CPPFLAGS << " #{$RICE_CPPFLAGS} -I#{$RICE_PREFIX}/include" $LDFLAGS << " #{$RICE_LDFLAGS} -L#{$RICE_PREFIX}/lib" @@ -178,10 +181,10 @@ def printf(format, *args) @file.printf(format, *args) end def puts(*strings) - print strings.map { |s| "#{s}\n" } + print(*strings.map { |s| "#{s}\n" }) end def close @file.close end