gnu: util-linux: Fix cross-compilation.

* gnu/packages/linux.scm (util-linux)[inputs]: Add NET-BASE
when (%current-target-system) is true.  Fixes cross-compilation.
This commit is contained in:
Ludovic Courtès 2017-07-04 22:49:15 +02:00
parent 6d9a859038
commit ba4aca3ae4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -554,7 +554,12 @@ (define-public util-linux
(find-files "lib" "\\.a$")))
#t))))))
(inputs `(("zlib" ,zlib)
("ncurses" ,ncurses)))
("ncurses" ,ncurses)
;; XXX: This is so that the 'pre-check' phase can find it.
,@(if (%current-target-system)
`(("net-base" ,net-base))
'())))
(native-inputs
`(("perl" ,perl)
("net-base" ,net-base))) ;for tests