aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-04-11 18:23:27 +0800
committer宋文武 <iyzsong@gmail.com>2015-04-11 18:23:27 +0800
commit50c26d9e44a9bdd3449e8b0e3e97a8e93a6310ef (patch)
tree8bb180a7e8c07b35d1935f3b81cc244bfbe46162 /gnu/packages/linux.scm
parent6d889daf2a8162a248da0b654d69d3c7346a4ca0 (diff)
downloadgnu-guix-50c26d9e44a9bdd3449e8b0e3e97a8e93a6310ef.tar
gnu-guix-50c26d9e44a9bdd3449e8b0e3e97a8e93a6310ef.tar.gz
gnu: iptables: Add $libdir to the RUNPATH of executables.
* gnu/packages/linux.scm (iptables)[arguments]: Add #:configure-flags.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 18f220ef68..f04a94b3a3 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -796,7 +796,10 @@ MIDI functionality to the Linux-based operating system.")
(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