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:
John Darrington 2014-10-07 23:18:59 +02:00
parent 5d7a8584f5
commit 7239828d29

View file

@ -68,10 +68,12 @@ (define-public icu4c
(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