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
1 changed files with 4 additions and 1 deletions

View File

@ -796,7 +796,10 @@ MIDI functionality to the Linux-based operating system.")
(base32 (base32
"0vkg5lzkn4l3i1sm6v3x96zzvnv9g7mi0qgj6279ld383mzcws24")))) "0vkg5lzkn4l3i1sm6v3x96zzvnv9g7mi0qgj6279ld383mzcws24"))))
(build-system gnu-build-system) (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") (home-page "http://www.netfilter.org/projects/iptables/index.html")
(synopsis "Program to configure the Linux IP packet filtering rules") (synopsis "Program to configure the Linux IP packet filtering rules")
(description (description