summaryrefslogtreecommitdiffstats
path: root/win32/resource.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-11 02:38:51 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-11 02:38:51 +0000
commitd92606a8009a8555bb7112374a73ac224dbcdcf8 (patch)
tree2fd0ae441d1ea952268aadb6ab79828b38a82d98 /win32/resource.rb
parentcc9632bf42363c3569489381097e8cbb936d69dc (diff)
downloadruby-d92606a8009a8555bb7112374a73ac224dbcdcf8.tar.gz
ruby-d92606a8009a8555bb7112374a73ac224dbcdcf8.tar.xz
ruby-d92606a8009a8555bb7112374a73ac224dbcdcf8.zip
* bcc32/Makefile.sub: remove unnecessary `.dll' from filename of
dll's resource file. * cygwin/GNUmakefile.in: ditto. [ruby-dev:17103] * win32/Makefile.sub: ditto. [ruby-dev:17103] * win32/resource.rb: ditto. [ruby-dev:17103] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/resource.rb')
-rw-r--r--win32/resource.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/resource.rb b/win32/resource.rb
index d29691ebf..e8a64a6d1 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"] + '.dll'
+$so_name ||= CONFIG["RUBY_SO_NAME"]
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, '', 'VFT_DLL', dll_icons],
+ [$so_name, '.dll', 'VFT_DLL', dll_icons],
].each do |base, ext, type, icons|
open(base + '.rc', "w") { |f|
f.binmode if /mingw/ =~ RUBY_PLATFORM