gnu: perl: Actually produce a host perl when cross-compiling.
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>
Sat, 18 Apr 2020 15:05:48 +0000 (17:05 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 20 Apr 2020 05:37:37 +0000 (07:37 +0200)
commiteaff60b35fed75c60d0db76c589e17d1500f60dd
tree7649c5b745af607125abd71dc92747f4c7cb089a
parent48acdefe2e39278bb53ab54995e4a2aca973e99c
gnu: perl: Actually produce a host perl when cross-compiling.

* gnu/packages/patches/perl-cross.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/perl.scm (perl)[native-inputs]: When cross-compiling, add
`perl-cross' input and perl-cross.patch.
[arguments]: When cross-compiling, use them to produce binary for host.
gnu/local.mk
gnu/packages/patches/perl-cross.patch [new file with mode: 0644]
gnu/packages/perl.scm