gnu: iptables: Add $libdir to the RUNPATH of executables.

* gnu/packages/linux.scm (iptables)[arguments]: Add #:configure-flags.
This commit is contained in:
宋文武 2015-04-11 18:23:27 +08:00
parent 6d889daf2a
commit 50c26d9e44

View File

@ -796,7 +796,10 @@ (define-public iptables
(base32
"0vkg5lzkn4l3i1sm6v3x96zzvnv9g7mi0qgj6279ld383mzcws24"))))
(build-system gnu-build-system)
(arguments '(#:tests? #f)) ; no test suite
(arguments
'(#:tests? #f ; no test suite
#:configure-flags ; add $libdir to the RUNPATH of executables
(list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))))
(home-page "http://www.netfilter.org/projects/iptables/index.html")
(synopsis "Program to configure the Linux IP packet filtering rules")
(description