mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: coreutils: Drop dependency on libcap when cross-compiling.
* gnu/packages/base.scm (coreutils)[inputs]: Drop LIBCAP when (%current-target-system) is true.
This commit is contained in:
parent
92226a470d
commit
62ea886525
1 changed files with 6 additions and 1 deletions
|
@ -249,7 +249,12 @@ (define-public coreutils
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs `(("acl" ,acl) ; TODO: add SELinux
|
(inputs `(("acl" ,acl) ; TODO: add SELinux
|
||||||
("gmp" ,gmp) ;bignums in 'expr', yay!
|
("gmp" ,gmp) ;bignums in 'expr', yay!
|
||||||
("libcap" ,libcap))) ;capability support is 'ls','dir', 'vdir'
|
|
||||||
|
;; Drop the dependency on libcap when cross-compiling since it's
|
||||||
|
;; not quite cross-compilable.
|
||||||
|
,@(if (%current-target-system)
|
||||||
|
'()
|
||||||
|
`(("libcap" ,libcap))))) ;capability support is 'ls', etc.
|
||||||
(native-inputs
|
(native-inputs
|
||||||
;; Perl is needed to run tests in native builds, and to run the bundled
|
;; Perl is needed to run tests in native builds, and to run the bundled
|
||||||
;; copy of help2man. However, don't pass it when cross-compiling since
|
;; copy of help2man. However, don't pass it when cross-compiling since
|
||||||
|
|
Loading…
Reference in a new issue