Re: [gentoo-dev] [PATCH 04/12] python-utils-r1.eclass: Use wrapper scripts to fix cross-compiling

2019-01-05 Thread James Le Cuirot
On Fri, 04 Jan 2019 16:53:46 +0100 Michał Górny wrote: > On Thu, 2019-01-03 at 21:39 +, James Le Cuirot wrote: > > Python has little concept of cross-compiling but it turns out that > > making it work isn't so hard after all. > > > > Platform-specific details are held within

Re: [gentoo-dev] [PATCH 04/12] python-utils-r1.eclass: Use wrapper scripts to fix cross-compiling

2019-01-04 Thread Michał Górny
On Thu, 2019-01-03 at 21:39 +, James Le Cuirot wrote: > Python has little concept of cross-compiling but it turns out that > making it work isn't so hard after all. > > Platform-specific details are held within _sysconfigdata.py, > sysconfig.py, and various distutils files. If we simply

[gentoo-dev] [PATCH 04/12] python-utils-r1.eclass: Use wrapper scripts to fix cross-compiling

2019-01-03 Thread James Le Cuirot
Python has little concept of cross-compiling but it turns out that making it work isn't so hard after all. Platform-specific details are held within _sysconfigdata.py, sysconfig.py, and various distutils files. If we simply symlink these from SYSROOT into an empty directory and add that directory