Skip to content
Snippets Groups Projects
Commit 4f2bde44 authored by Ricardo Wurmus's avatar Ricardo Wurmus
Browse files

gnu: tbb: Set library rpath.

* gnu/packages/tbb.scm (tbb)[arguments]: Add the rpath for lib directory of
  output to LDFLAGS.
parent 945e9c0c
No related branches found
No related tags found
No related merge requests found
...@@ -46,8 +46,13 @@ (define-public tbb ...@@ -46,8 +46,13 @@ (define-public tbb
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:test-target "test" `(#:test-target "test"
#:phases (alist-delete #:phases (alist-replace
'configure '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 (alist-replace
'install 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment