rakelib/compile.rake
changeset 111 767f2ace9b82
parent 107 e6d325dbc81b
child 122 6fcb351d23a7
--- a/rakelib/compile.rake	Thu Dec 22 22:25:06 2016 +0000
+++ b/rakelib/compile.rake	Tue Dec 27 21:25:27 2016 +0000
@@ -350,6 +350,13 @@
                 mkdir 'libffi' / 'build_win32' / 'objbc'
               end
             end
+          # A workaround for Windows 10 & ancient Borland make which 
+          # tend to crash there when trying to recompile already compiled
+          # librun. Sigh, we have to move away from it as soon as possible!
+          
+          if win32? and (File.exist? 'stxmain.c') then
+            touch "stxmain.c"
+          end
           make
           cleanup_librun()
         rescue Exception => e