mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue