Subject: [ruby-ffi] Re: extconf.rb typo? |
From: Luis Lavena |
Date: 10/14/09 8:54 AM |
To: ruby-ffi@googlegroups.com |
On Wed, Oct 14, 2009 at 10:14 AM, Jon <jon.forums@gmail.com> wrote:
/mswin|mingw/ instead of /(win32|mingw)/Should line 21 in ext/ffi_c/extconf.rb mf.puts "FFI_MMAP_EXEC=-DFFI_MMAP_EXEC_WRIT=#{Config::CONFIG['host_os'] =~ /(win32|mingw)/ ? 0 : 1}" use
That is correct, the issue become a problem when Ruby is x86_64 (x64-mswin64_80) The proper evaluation should be mswin or mingw, since mingw can be 64 bits too (working on that).-- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry