mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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:
parent
945e9c0cef
commit
4f2bde4433
1 changed files with 6 additions and 1 deletions
|
@ -46,8 +46,13 @@ (define-public tbb
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue