diff options
author | 宋文武 <iyzsong@gmail.com> | 2015-04-11 12:47:22 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2015-04-11 12:47:22 +0800 |
commit | be84118181c274b0dd39f0a1d78b3f721f3e5bca (patch) | |
tree | d2d8a1c91f0ba61272923b6f8f6ac64416e8f537 /gnu/packages | |
parent | 6b206853a067aae83165ddece7c562aa476abc33 (diff) | |
download | guix-be84118181c274b0dd39f0a1d78b3f721f3e5bca.tar.gz |
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | 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 e72cf32e3f..8e4c29cb16 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") "")) |