From a4c091a69723f57865e619ba031e3afdfc2b0d14 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 9 Jan 2016 02:46:31 +0000 Subject: fix rc files conflict in parallel build * cygwin/GNUmakefile.in (%.rc): generate .rc files separately to get rid of conflict in parallel build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/resource.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'win32/resource.rb') 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 -- cgit v1.2.3