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.
This commit is contained in:
宋文武 2015-04-11 12:47:22 +08:00
parent 6b206853a0
commit be84118181

View file

@ -75,6 +75,7 @@ (define-public netpbm
(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") ""))