GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
This should fix #864.
Probably the most easy way to build the mingw gems is by using the rake-compiler-dev-box: https://github.com/tjschuck/rake-compiler-dev-box
There is an issue with the strip command in the box, so you probably need this patch, too: tjschuck/rake-compiler-dev-box#4
There are two more outstanding external issues, that are currently patched:
This patch moves all MiniPortile recipes into extconf.rb. That ensures that all depending libraries are build with the same compiler version as the C-ext.
I wondered, if it wouldn't be better to also build libxml2 and libxslt with --enable-static for natives builds, but noticed the corresponding issue just now: #923
If this patch is the way to go for you, then I would merge it with static_clean.
I've successfully tested the extension by running the unit tests on Windows-7 64-Bit with Ruby-x86 2.0.0-p0, Ruby-x64 2.0.0-p0 and Ruby-x86 1.9.3-p392.
Building the gem native on windows with the bundled libraries does not (yet) work, but requires probably only minor changes.
Add support for cross compiling for the x64-mingw32 platform.
This moves all MiniPortile recipes into extconf.rb.
When this package is installed, clean ports files unnecessary to run.
Is there something I can do, to get this reviewed/merged? May I rebase the pull request to branch static_clean ?
I've just merged the static_clean branch to master, so please rebase it on the latest master.
This is superseded by #989.