gnu: inetutils: Allow for cross-compilation.
* gnu/packages/admin.scm (inetutils)[arguments]: Pass "--with-path-procnet-dev".
This commit is contained in:
parent
ed8111ea75
commit
e4015e570c
|
@ -271,7 +271,13 @@ re-executing them as necessary.")
|
||||||
"05n65k4ixl85dc6rxc51b1b732gnmm8xnqi424dy9f1nz7ppb3xy"))))
|
"05n65k4ixl85dc6rxc51b1b732gnmm8xnqi424dy9f1nz7ppb3xy"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags '("--localstatedir=/var")
|
`(#:configure-flags '("--localstatedir=/var"
|
||||||
|
|
||||||
|
;; Make sure 'PATH_PROCNET_DEV' gets defined when
|
||||||
|
;; cross-compiling (by default it does not.)
|
||||||
|
,@(if (%current-target-system)
|
||||||
|
'("--with-path-procnet-dev=/proc/net/dev")
|
||||||
|
'()))
|
||||||
;; On some systems, 'libls.sh' may fail with an error such as:
|
;; On some systems, 'libls.sh' may fail with an error such as:
|
||||||
;; "Failed to tell switch -a apart from -A".
|
;; "Failed to tell switch -a apart from -A".
|
||||||
#:parallel-tests? #f))
|
#:parallel-tests? #f))
|
||||||
|
|
Loading…
Reference in New Issue