aboutsummaryrefslogtreecommitdiffstats
path: root/win32/resource.rb
diff options
context:
space:
mode:
Diffstat (limited to 'win32/resource.rb')
-rwxr-xr-xwin32/resource.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/resource.rb b/win32/resource.rb
index 64682335bf..e19e04b922 100755
--- a/win32/resource.rb
+++ b/win32/resource.rb
@@ -52,6 +52,7 @@ end
[$rubyw_name, CONFIG["EXEEXT"], 'VFT_APP', 'GUI', rubyw_icon || ruby_icon],
[$so_name, '.dll', 'VFT_DLL', 'DLL', dll_icons.join],
].each do |base, ext, type, desc, icon|
+ next if $output and $output != base
open(base + '.rc', "w") { |f|
f.binmode if /mingw/ =~ RUBY_PLATFORM