gnu: samba: Augment dynamic library rpaths.
authorTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
Tue, 10 Mar 2015 18:37:57 +0000 (19:37 +0100)
committerTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
Thu, 12 Mar 2015 20:40:55 +0000 (21:40 +0100)
* gnu/packages/samba.scm (samba): Augment the rpath of files in lib/ in
  addition to those in bin/ and sbin/.

gnu/packages/samba.scm

index 46b9721..c147abc 100644 (file)
@@ -114,11 +114,13 @@ anywhere.")
                   (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 executables.
+                      ;; Add LIB to the RUNPATH of all the executables and
+                      ;; dynamic libraries.
                       (with-directory-excursion out
                         (for-each (cut augment-rpath <> lib)
                                   (append (find-files "bin" ".*")
-                                          (find-files "sbin" ".*"))))))
+                                          (find-files "sbin" ".*")
+                                          (find-files "lib" ".*"))))))
                   %standard-phases))
 
        #:modules ((guix build gnu-build-system)