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:
parent
6b206853a0
commit
be84118181
|
@ -75,6 +75,7 @@
|
||||||
(display "TIFFLIB = libtiff.so\n" f)
|
(display "TIFFLIB = libtiff.so\n" f)
|
||||||
(display "JPEGLIB = libjpeg.so\n" f)
|
(display "JPEGLIB = libjpeg.so\n" f)
|
||||||
(display "ZLIB = libz.so\n" f)
|
(display "ZLIB = libz.so\n" f)
|
||||||
|
(display (string-append "LDFLAGS += -Wl,-rpath=" %output "/lib") f)
|
||||||
(close-port f)
|
(close-port f)
|
||||||
;; drop advertisement for non-free program
|
;; drop advertisement for non-free program
|
||||||
(substitute* "converter/ppm/Makefile" (("hpcdtoppm") ""))
|
(substitute* "converter/ppm/Makefile" (("hpcdtoppm") ""))
|
||||||
|
|
Loading…
Reference in New Issue