ext/extconf.rb in tk_as_gem-0.0.1 vs ext/extconf.rb in tk_as_gem-0.1.0

- old
+ new

@@ -438,10 +438,12 @@ create_makefile("tcltklib") # ughly. if RUBY_PLATFORM =~ /mingw/ old = File.read('Makefile') - old.gsub!('/Tcl', File.expand_path('/Tcl')) +# old.gsub!('/Tcl', File.expand_path('/Tcl')) + old.gsub!('-I/', "-I#{File.expand_path('/')}") + old.gsub!('-L/', "-L#{File.expand_path('/')}") File.open('Makefile', 'w') do |f| f.write old; end end end \ No newline at end of file