guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: netpbm: Add $libdir to the RUNPATH of binaries.


From: ???
Subject: 01/01: gnu: netpbm: Add $libdir to the RUNPATH of binaries.
Date: Sat, 11 Apr 2015 04:51:00 +0000

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

commit be84118181c274b0dd39f0a1d78b3f721f3e5bca
Author: 宋文武 <address@hidden>
Date:   Sat Apr 11 12:47:22 2015 +0800

    gnu: netpbm: Add $libdir to the RUNPATH of binaries.
    
    * gnu/packages/netpbm.scm (netpbm)[arguments]: Add 'LDFLAGS += 
-Wl,-rpath=...'
      to config.mk in the configure phase.
---
 gnu/packages/netpbm.scm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/netpbm.scm b/gnu/packages/netpbm.scm
index e72cf32..8e4c29c 100644
--- a/gnu/packages/netpbm.scm
+++ b/gnu/packages/netpbm.scm
@@ -75,6 +75,7 @@
          (display "TIFFLIB = libtiff.so\n" f)
          (display "JPEGLIB = libjpeg.so\n" f)
          (display "ZLIB = libz.so\n" f)
+         (display (string-append "LDFLAGS += -Wl,-rpath=" %output "/lib") f)
          (close-port f)
          ;; drop advertisement for non-free program
          (substitute* "converter/ppm/Makefile" (("hpcdtoppm") ""))



reply via email to

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