summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Darrington <jmd@gnu.org>2014-10-07 23:18:59 +0200
committerJohn Darrington <jmd@gnu.org>2014-10-10 05:35:07 +0200
commit7239828d29613aafb31295c4836d3cf363b3458c (patch)
treeff7ef108c54283a506841a35da0fb19067adde4d
parent5d7a8584f5c6aeed720c1115b8d46aa5a8d3157b (diff)
downloadguix-7239828d29613aafb31295c4836d3cf363b3458c.tar.gz
gnu: icu4c: Correct error in the binaries' runpath
* gnu/packages/icu4c.scm (icu4c): Apply the RUNPATH to the binaries,
  instead of the libs
-rw-r--r--gnu/packages/icu4c.scm6
1 files changed, 4 insertions, 2 deletions
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