summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/tbb.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/tbb.scm b/gnu/packages/tbb.scm
index 3c41141dc6..0e9db720aa 100644
--- a/gnu/packages/tbb.scm
+++ b/gnu/packages/tbb.scm
@@ -46,6 +46,8 @@
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"
+       #:make-flags (list (string-append "LDFLAGS=-Wl,-rpath="
+                                         (assoc-ref %outputs "out") "/lib"))
        #:phases (alist-replace
                  'configure
                  (lambda* (#:key outputs #:allow-other-keys)