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 | e0208c14e0e8161f80c14624a5d4a1f544a74a70 (patch) | |
tree | cf8d2904f1e9ba1a42b0e68e59571e97c3695f2b /win32/resource.rb | |
parent | 2eb957394cc2120ba77e6a3bf367d029a148ca3a (diff) | |
download | ruby-e0208c14e0e8161f80c14624a5d4a1f544a74a70.tar.gz ruby-e0208c14e0e8161f80c14624a5d4a1f544a74a70.tar.xz ruby-e0208c14e0e8161f80c14624a5d4a1f544a74a70.zip |
matz
git-svn-id: http://svn.ruby-lang.org/repos/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 3e97688c0..d25c26e8f 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 |