specs/stx-jv.rbspec
changeset 37 61064ee32813
parent 32 0872e75d5c5c
child 47 5d4271721e2f
--- a/specs/stx-jv.rbspec	Tue Jun 07 23:32:53 2016 +0100
+++ b/specs/stx-jv.rbspec	Wed Jun 08 15:22:39 2016 +0100
@@ -115,27 +115,7 @@
         end
       end
     end
-  
-  if (TOOLCHAIN == "mingw32" || TOOLCHAIN == 'mingw') then
-    task :'compile:post' => BUILD_DIR / 'stx' / 'projects' / 'smalltalk' / 'libgcc_s_dw2-1.dll'
-    
-    file BUILD_DIR / 'stx' / 'projects' / 'smalltalk' / 'libgcc_s_dw2-1.dll' do
-      cp ENV['MINGW_DIR'] / 'bin' / 'libgcc_s_dw2-1.dll' , BUILD_DIR / 'stx' / 'projects' / 'smalltalk' / 'libgcc_s_dw2-1.dll'
-    end
-  end
-  
-  task :'stx:projects/smalltalk:pre' do   
-    chdir (BUILD_DIR / 'stx' / 'projects' / 'smalltalk') do         
-      # Hack for MINGW32 - must patch bc.mak ifdefs, sigh.
-      # use ruby instead of sed as ruby has to be installed anyway    
-      cmd = "ruby -ibkp -pe \"gsub /ifdef USEMINGW64/, 'if defined(USEMINGW64) || defined(USEMINGW32)'\" bc.mak"
-      #puts cmd
-      if not system(cmd)  then
-          raise Exception.new("Cannot patch bc.mak")
-      end      
-    end     
-  end
-    
+        
   if win32_wine?
 
     task :'stx:projects/smalltalk:pre' do