rakelib/setup.rake
changeset 111 767f2ace9b82
parent 102 fc572bd895f2
child 113 619c575b39da
--- a/rakelib/setup.rake	Thu Dec 22 22:25:06 2016 +0000
+++ b/rakelib/setup.rake	Tue Dec 27 21:25:27 2016 +0000
@@ -271,6 +271,12 @@
             end
             make
           elsif pkg.name == 'stx:librun'
+            # 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
           else
             # Somewhat stupid detection whether we run recent St/X or not