lib/extensions/digest-md5/ext/Rakefile in rhodes-2.3.2 vs lib/extensions/digest-md5/ext/Rakefile in rhodes-2.4.0.beta.1
- old
+ new
@@ -56,11 +56,11 @@
elsif ENV['RHO_PLATFORM'] == 'wm'
args = []
args << "/M4"
args << name + ".vcproj"
args << "\"Release|#{$sdk}\""
- cmdline = $vcbuild + ' ' + args.join(' ')
+ cmdline = "\"" + $vcbuild + "\"" + ' ' + args.join(' ')
puts cmdline
puts `#{cmdline}`
exit unless $? == 0
cp_r File.join($tempdir, "Release", name + ".lib"), $targetdir
@@ -68,11 +68,11 @@
elsif ENV['RHO_PLATFORM'] == 'win32'
args = []
args << "/M4"
args << name + ".vcproj"
args << "\"Debug|Win32\""
- cmdline = $vcbuild + ' ' + args.join(' ')
+ cmdline = "\"" + $vcbuild + "\"" + ' ' + args.join(' ')
puts cmdline
puts `#{cmdline}`
exit unless $? == 0
cp_r File.join($tempdir, "Debug", name + ".lib"), $targetdir
@@ -98,10 +98,10 @@
raise "PLATFORM_DEVELOPER_BIN_DIR is not set" if $bindir.nil?
$sdkroot = ENV['SDKROOT']
raise "SDKROOT is not set" if $sdkroot.nil?
$arch = ENV['ARCHS']
raise "ARCHS is not set" if $arch.nil?
- $gccbin = $bindir + '/gcc-4.0'
+ $gccbin = $bindir + '/gcc'
$arbin = $bindir + '/ar'
elsif ENV['RHO_PLATFORM'] == 'wm'
$vcbuild = ENV['VCBUILD']
raise "VCBUILD is not set" if $vcbuild.nil?