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
|
@ -46,8 +46,13 @@
|
||||||
(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)
|
||||||
|
|
Loading…
Reference in New Issue