me
/
guix
Archived
1
0
Fork 0

gnu: iptables: Fix cross-compilation.

* gnu/packages/linux.scm (iptables)[arguments]:
Rewrite as G-expression to avoid %OUTPUT when cross-compiling.
master
Tobias Geerinckx-Rice 2022-01-08 01:01:23 +01:00
parent a00543b439
commit 8d8272dd47
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 3 deletions

View File

@ -2642,9 +2642,13 @@ external rate conversion.")
(inputs
(list libmnl libnftnl/fixed))
(arguments
'(#:tests? #f ; no test suite
#:configure-flags ; add $libdir to the RUNPATH of executables
(list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))))
(list #:tests? #f ; no test suite
#:configure-flags ; add $libdir to the RUNPATH of executables
;; 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")
(synopsis "Programs to configure Linux IP packet filtering rules")
(description