guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: ???
Subject: 01/01: gnu: iptables: Add $libdir to the RUNPATH of executables.
Date: Sat, 11 Apr 2015 10:28:28 +0000

iyzsong pushed a commit to branch core-updates
in repository guix.

commit 50c26d9e44a9bdd3449e8b0e3e97a8e93a6310ef
Author: 宋文武 <address@hidden>
Date:   Sat Apr 11 18:23:27 2015 +0800

    gnu: iptables: Add $libdir to the RUNPATH of executables.
    
    * gnu/packages/linux.scm (iptables)[arguments]: Add #:configure-flags.
---
 gnu/packages/linux.scm |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 18f220e..f04a94b 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]