mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue