aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-04-22 11:58:44 +0200
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-04-23 13:07:10 +0200
commitff2b1c17b824a2399cfdc11a9839ef3d5bb1a6ed (patch)
tree584826d4ab5800e35771491043a77b4a65c0fa63
parent9020890b216fea6f6a40da5500b88d16178deef4 (diff)
downloadgnu-guix-ff2b1c17b824a2399cfdc11a9839ef3d5bb1a6ed.tar
gnu-guix-ff2b1c17b824a2399cfdc11a9839ef3d5bb1a6ed.tar.gz
gnu: r: Set library rpath.
* gnu/packages/statistics.scm (r)[arguments]: Add the rpath for lib directory of output to LDFLAGS.
-rw-r--r--gnu/packages/statistics.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 5fae6d7a3c..42c16cdb30 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -53,7 +53,11 @@
"0ypsm11c7n49pgh2ricyhhpfhas3famscdazzdp2zq70rapm1ldw"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
+ `(#:make-flags
+ (list (string-append "LDFLAGS=-Wl,-rpath="
+ (assoc-ref %outputs "out")
+ "/lib/R/lib"))
+ #:phases
(alist-cons-before
'check 'set-timezone
;; Some tests require the timezone to be set.