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:
parent
6d9a859038
commit
ba4aca3ae4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue