tasks/extconf/rubypython_bridge.rake in rubypython-0.2.10 vs tasks/extconf/rubypython_bridge.rake in rubypython-0.2.11
- old
+ new
@@ -36,14 +36,14 @@
FileUtils.cp(ext_so,"lib/#{extension}.#{Config::CONFIG['DLEXT']}")
end
file ext_so => ext_files do
Dir.chdir(ext) do
- sh(PLATFORM =~ /win32/ ? 'nmake' : 'make') do |ok, res|
+ sh(RUBY_PLATFORM =~ /win32/ ? 'nmake' : 'make') do |ok, res|
if !ok
require "fileutils"
FileUtils.rm Dir.glob('*.{so,o,dll,bundle}')
end
end
end
end
-end
\ No newline at end of file
+end