diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-08-09 04:32:24 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-08-09 04:32:24 +0000 |
commit | c1bbe10599dfcc2dca3823dc0784eb1835c1ed74 (patch) | |
tree | cf8d2904f1e9ba1a42b0e68e59571e97c3695f2b /win32/resource.rb | |
parent | a3edeb5fec3dfb064a1745881f5c5ec68e2abc92 (diff) | |
download | ruby-c1bbe10599dfcc2dca3823dc0784eb1835c1ed74.tar.gz |
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/resource.rb')
-rw-r--r-- | win32/resource.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/resource.rb b/win32/resource.rb index 3e97688c0a..d25c26e8f5 100644 --- a/win32/resource.rb +++ b/win32/resource.rb @@ -8,7 +8,7 @@ fversion = "#{CONFIG['MAJOR']},#{CONFIG['MINOR']},#{CONFIG['TEENY']},0" $ruby_name ||= CONFIG["RUBY_INSTALL_NAME"] $rubyw_name ||= CONFIG["RUBYW_INSTALL_NAME"] || $ruby_name.sub(/ruby/, '\&w') -$so_name ||= CONFIG["RUBY_SO_NAME"] +$so_name ||= CONFIG["RUBY_SO_NAME"] + '.dll' icons = {} def icons.find(path) @@ -49,7 +49,7 @@ end [ # base name extension file type icons [$ruby_name, CONFIG["EXEEXT"], 'VFT_APP', ruby_icon], [$rubyw_name, CONFIG["EXEEXT"], 'VFT_APP', rubyw_icon], - [$so_name, '.'+CONFIG["DLEXT2"], 'VFT_DLL', dll_icons], + [$so_name, '', 'VFT_DLL', dll_icons], ].each do |base, ext, type, icons| open(base + '.rc', "w") { |f| f.binmode if /mingw/ =~ RUBY_PLATFORM |