gnu: tbb: Set library rpath.
* gnu/packages/tbb.scm (tbb)[arguments]: Add the rpath for lib directory of output to LDFLAGS.master
parent
945e9c0cef
commit
4f2bde4433
|
@ -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)
|
||||
|
|
Reference in New Issue