[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#56536] [PATCH]: gnu: newt: Fix cross-compilationn
From: |
Jean Pierre De Jesus DIAZ |
Subject: |
[bug#56536] [PATCH]: gnu: newt: Fix cross-compilationn |
Date: |
Sat, 06 Aug 2022 16:54:14 +0000 |
Hello,
> Why not moving python to the native-inputs instead?
Because `python-config' output differs for the host and the target I
believe.
Thanks,
—
Jean-Pierre De Jesus DIAZ
------- Original Message -------
On Saturday, August 6th, 2022 at 18:40, Mathieu Othacehe <othacehe@gnu.org>
wrote:
> Hello,
>
> > + (add-before 'build 'add-python-config-to-path
> > + (lambda* (#:key target #:allow-other-keys)
> > + ;; When cross-compiling python-config is not present in $PATH.
> > + ;;
> > + ;; It is a shell script without dependencies on target binaries
> > + ;; so it can be run on the host to allow cross-compilation.
>
>
>
> Thanks,
>
> Mathieu