Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: Fix PYTHON_SITEDIR/INCLUDEDIR for cross-prefix

2023-08-16 Thread James Le Cuirot
On Tue, 2023-08-15 at 18:25 -0400, Ionen Wolkens wrote: > On Tue, Aug 15, 2023 at 11:02:54PM +0100, James Le Cuirot wrote: > > We dynamically determine Python's SITEDIR and INCLUDEDIR using the build > > host's Python. This breaks down when the build host's prefix differs > > from the target

Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: Fix PYTHON_SITEDIR/INCLUDEDIR for cross-prefix

2023-08-15 Thread Ionen Wolkens
On Tue, Aug 15, 2023 at 11:02:54PM +0100, James Le Cuirot wrote: > We dynamically determine Python's SITEDIR and INCLUDEDIR using the build > host's Python. This breaks down when the build host's prefix differs > from the target host's prefix, so chop off the former and prepend the > latter. > >