Mathieu Othacehe writes: > * gnu/packages/perl.scm (perl)[arguments]: Use cross-libc instead of libc when > cross-compiling. [...] > @@ -81,7 +82,7 @@ > "perl-reproducible-build-date.patch")))) > (build-system gnu-build-system) > (arguments > - '(#:tests? #f > + `(#:tests? #f > #:configure-flags > (let ((out (assoc-ref %outputs "out")) > (libc (assoc-ref %build-inputs "libc"))) > @@ -130,7 +131,9 @@ > (add-after 'install 'remove-extra-references > (lambda* (#:key inputs outputs #:allow-other-keys) > (let* ((out (assoc-ref outputs "out")) > - (libc (assoc-ref inputs "libc")) > + (libc (assoc-ref inputs > + ,(if (%current-target-system) > + "cross-libc" "libc"))) > (config1 (car (find-files (string-append out "/lib/perl5") > "^Config_heavy\\.pl$"))) > (config2 (find-files (string-append out "/lib/perl5") OK!