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)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(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
|
||||
(for-each (cut augment-rpath <> lib)
|
||||
(find-files "lib" ".*")))))
|
||||
(append
|
||||
(find-files "bin" ".*")
|
||||
(find-files "sbin" ".*"))))))
|
||||
%standard-phases)))))
|
||||
(synopsis "ICU, International Components for Unicode")
|
||||
(description
|
||||
|
|
Loading…
Reference in New Issue