From 7239828d29613aafb31295c4836d3cf363b3458c Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 7 Oct 2014 23:18:59 +0200 Subject: gnu: icu4c: Correct error in the binaries' runpath * gnu/packages/icu4c.scm (icu4c): Apply the RUNPATH to the binaries, instead of the libs --- gnu/packages/icu4c.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm index 8c54cc915a..7eb3874322 100644 --- a/gnu/packages/icu4c.scm +++ b/gnu/packages/icu4c.scm @@ -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 -- cgit 1.4.1