Actions
Backport #3824
closedrbconfig.rb generated by cross-compilation do provide correct path for link process
Status:
Closed
Assignee:
Description
=begin
Hello,
I'm trying to cross-compile Ruby 1_8_7 branch using i686-w64-mingw32 (mingw-w64 project). I've managed successfully to cross-compile and install using patches provided in #2531, #3666 and #3822.
However, I've now encountered a problem. mkmf is confused about the location of msvcrt-ruby18 shared library to link to:
$ ruby -I/Users/luis/Portile/i686-w64-mingw32/apps/ruby/1.8.7-head/lib/ruby/1.8:/Users/luis/Portile/i686-w64-mingw32/apps/ruby/1.8.7-head/lib/ruby/1.8/i386-mingw32 -rfake ../../../../ext/my_ext/extconf.rb
fake.rb is a simplified version of the one generated by Makefile.
Find attached both the generated Makefile and the fake.rb used by me.
The extension is a simple one, which just puts something to stdout.
=end
Files
Actions
Like0
Like0Like0Like0Like0Like0Like0