Fix cross compilation with mingw
Submitted by Andoni Morales
Link to original bug (#658126)
Description
I managed to cross compile gobject-introspection for windows from a linux machine using an installed win32 version of Python with wine.
Here are the steps I followed:
- Install Python27 with wine: $ wine msiexec /i python27.msi
- Apply attached patches
- Set PYTHON env to use windows' python: $ export PYTHON="wine ~/.wine/drive_c/Python27/python.exe"
- Configure with: $ am_cv_python_pyexecdir=/home/andoni/.wine/drive_c/Python27/Lib/site-packages gure
I haven't been able to run successfully gir-scanner yet, which is the last missing step, but I'll post an update once I have it working.