~ruther/guix-local

4f2bde44330b32d5d34170a46553b9b5036cd2d3 — Ricardo Wurmus 11 years ago 945e9c0
gnu: tbb: Set library rpath.

* gnu/packages/tbb.scm (tbb)[arguments]: Add the rpath for lib directory of
  output to LDFLAGS.
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/packages/tbb.scm
M gnu/packages/tbb.scm => gnu/packages/tbb.scm +6 -1
@@ 46,8 46,13 @@
    (build-system gnu-build-system)
    (arguments
     `(#:test-target "test"
       #:phases (alist-delete
       #:phases (alist-replace
                 'configure
                 (lambda* (#:key outputs #:allow-other-keys)
                   (substitute* "build/linux.gcc.inc"
                     (("LIB_LINK_FLAGS =")
                      (string-append "LIB_LINK_FLAGS = -Wl,-rpath="
                                     (assoc-ref outputs "out") "/lib"))))
                 (alist-replace
                  'install
                  (lambda* (#:key outputs #:allow-other-keys)