mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-01 23:05:57 +02:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user