gnu: icu4c: Correct error in the binaries' runpath
* gnu/packages/icu4c.scm (icu4c): Apply the RUNPATH to the binaries, instead of the libs
This commit is contained in:
parent
5d7a8584f5
commit
7239828d29
|
@ -68,10 +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 libraries.
|
;; Add LIB to the RUNPATH of all the binaries.
|
||||||
(with-directory-excursion out
|
(with-directory-excursion out
|
||||||
(for-each (cut augment-rpath <> lib)
|
(for-each (cut augment-rpath <> lib)
|
||||||
(find-files "lib" ".*")))))
|
(append
|
||||||
|
(find-files "bin" ".*")
|
||||||
|
(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