gnu: whois: Fix cross compiling.

* gnu/packages/networking.scm (whois)[arguments]: Use cc-for-target
and pkg-config-for-target.
This commit is contained in:
Efraim Flashner 2020-12-28 18:53:58 +02:00
parent 3d395e3d83
commit f6c106b46d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1317,7 +1317,8 @@ (define-public whois
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no test suite
#:make-flags (list "CC=gcc"
#:make-flags (list (string-append "CC=" ,(cc-for-target))
(string-append "PKG_CONFIG=" ,(pkg-config-for-target))
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases