rakelib/setup.rake
changeset 38 7b2b274f0f5a
parent 33 fe75297c59be
child 59 9099e2455d9c
--- a/rakelib/setup.rake	Wed Jun 08 15:22:39 2016 +0100
+++ b/rakelib/setup.rake	Fri Jun 10 00:05:09 2016 +0100
@@ -106,13 +106,13 @@
   elsif File.exist? 'C:\MSYS64\MINGW32\bin\gcc.exe'
     ENV['MINGW_DIR'] ='C:\MSYS64\MINGW32'
     ENV['USEMINGW_ARG'] = '-DUSEMINGW32'  
+    system 'set'
   elsif File.exist? 'C:\MSYS\MINGW32\bin\gcc.exe'
     ENV['MINGW_DIR'] ='C:\MSYS\MINGW32'
     ENV['USEMINGW_ARG'] = '-DUSEMINGW32'  
   else    
     raise Exception.new("MINGW32 nor MSYS2 found in C:\\MinGW nor C:\\MSYS64 nor C:\\MSYS!")
   end
-  ENV['MINGW_DIR'] ='C:\MINGW'
   ENV['MINGW'] = '__MINGW32__'
   OBJ_DIR = 'objmingw'
   OBJ_SUFFIX = 'obj'