Fixed setup for 32bit build under MSYS2 environment
Due to copy-paste error, the MINGW_DIR environment was
set incorrectly so makefile could not find MSYS2 MinGW32.
--- 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'