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
1 changed files with 4 additions and 2 deletions

View File

@ -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