From 50c26d9e44a9bdd3449e8b0e3e97a8e93a6310ef Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Sat, 11 Apr 2015 18:23:27 +0800 Subject: gnu: iptables: Add $libdir to the RUNPATH of executables. * gnu/packages/linux.scm (iptables)[arguments]: Add #:configure-flags. --- gnu/packages/linux.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages/linux.scm') 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 -- cgit v1.2.3