From c1bbe10599dfcc2dca3823dc0784eb1835c1ed74 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 9 Aug 2000 04:32:24 +0000 Subject: matz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/resource.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win32/resource.rb') 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 -- cgit v1.2.3