gnu: tbb: Set library rpath.

* gnu/packages/tbb.scm (tbb)[arguments]: Add the rpath for lib directory of
  output to LDFLAGS.
This commit is contained in:
Ricardo Wurmus 2015-04-14 14:11:42 +02:00
parent 945e9c0cef
commit 4f2bde4433
1 changed files with 6 additions and 1 deletions

View File

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