gnu: icu4c: Reinstate RUNPATH on shared libraries.
Fixes <http://bugs.gnu.org/18695>.
Reported by Mark H Weaver <mhw@netris.org>.
* gnu/packages/icu4c.scm (icu4c)[arguments]: In 'add-lib-to-runpath',
reinstate RUNPATH on files under lib/. Fixes a regression introduced
in commit 7239828
.
This commit is contained in:
parent
817efe8bb1
commit
7d09fb3464
|
@ -68,12 +68,12 @@
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(lib (string-append out "/lib")))
|
(lib (string-append out "/lib")))
|
||||||
;; Add LIB to the RUNPATH of all the binaries.
|
;; Add LIB to the RUNPATH of all the libraries and binaries.
|
||||||
(with-directory-excursion out
|
(with-directory-excursion out
|
||||||
(for-each (cut augment-rpath <> lib)
|
(for-each (cut augment-rpath <> lib)
|
||||||
(append
|
(append (find-files "lib" ".*")
|
||||||
(find-files "bin" ".*")
|
(find-files "bin" ".*")
|
||||||
(find-files "sbin" ".*"))))))
|
(find-files "sbin" ".*"))))))
|
||||||
%standard-phases)))))
|
%standard-phases)))))
|
||||||
(synopsis "ICU, International Components for Unicode")
|
(synopsis "ICU, International Components for Unicode")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue