gnu: iptables: Fix cross-compilation.
* gnu/packages/linux.scm (iptables)[arguments]: Rewrite as G-expression to avoid %OUTPUT when cross-compiling.
This commit is contained in:
parent
a00543b439
commit
8d8272dd47
1 changed files with 7 additions and 3 deletions
|
@ -2642,9 +2642,13 @@ external rate conversion.")
|
||||||
(inputs
|
(inputs
|
||||||
(list libmnl libnftnl/fixed))
|
(list libmnl libnftnl/fixed))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ; no test suite
|
(list #:tests? #f ; no test suite
|
||||||
#:configure-flags ; add $libdir to the RUNPATH of executables
|
#:configure-flags ; add $libdir to the RUNPATH of executables
|
||||||
(list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))))
|
;; XXX TODO: Replace with simply #$OUTPUT on core-updates.
|
||||||
|
#~(list (string-append "LDFLAGS=-Wl,-rpath="
|
||||||
|
#$(if (%current-target-system)
|
||||||
|
#~#$output
|
||||||
|
#~%output) "/lib"))))
|
||||||
(home-page "https://www.netfilter.org/projects/iptables/index.html")
|
(home-page "https://www.netfilter.org/projects/iptables/index.html")
|
||||||
(synopsis "Programs to configure Linux IP packet filtering rules")
|
(synopsis "Programs to configure Linux IP packet filtering rules")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue