rakelib/setup.rake
changeset 113 619c575b39da
parent 112 9133803c99a2
parent 111 767f2ace9b82
child 131 edaf0258b9c2
child 137 e665031cade7
--- a/rakelib/setup.rake	Fri Dec 30 22:44:34 2016 +0000
+++ b/rakelib/setup.rake	Sat Dec 31 01:02:57 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