gnu: libtirpc: fix cross-compilation.

* gnu/packages/onc-rpc.scm (libtirpc)[native-inputs]: add mit-krb5.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Z572 2022-12-01 16:43:34 +08:00 committed by Ludovic Courtès
parent 7f380a2e26
commit 517618b240
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -6,6 +6,7 @@
;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Zheng Junjie <873216071@qq.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -63,6 +64,7 @@ (define-public libtirpc
"tirpc/netconfig.h") "tirpc/netconfig.h")
(("/etc/netconfig") (string-append (assoc-ref outputs "out") (("/etc/netconfig") (string-append (assoc-ref outputs "out")
"/etc/netconfig")))))))) "/etc/netconfig"))))))))
(native-inputs (list mit-krb5)) ;; for cross-compilation
(inputs (list mit-krb5)) (inputs (list mit-krb5))
(home-page "https://sourceforge.net/projects/libtirpc/") (home-page "https://sourceforge.net/projects/libtirpc/")
(synopsis "Transport-independent Sun/ONC RPC implementation") (synopsis "Transport-independent Sun/ONC RPC implementation")