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
1 changed files with 6 additions and 1 deletions

View File

@ -554,7 +554,12 @@ providing the system administrator with some help in common tasks.")
(find-files "lib" "\\.a$"))) (find-files "lib" "\\.a$")))
#t)))))) #t))))))
(inputs `(("zlib" ,zlib) (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 (native-inputs
`(("perl" ,perl) `(("perl" ,perl)
("net-base" ,net-base))) ;for tests ("net-base" ,net-base))) ;for tests