gnu: r: Set library rpath.

* gnu/packages/statistics.scm (r)[arguments]: Add the rpath for lib directory
  of output to LDFLAGS.
This commit is contained in:
Ricardo Wurmus 2015-04-22 11:58:44 +02:00
parent 9020890b21
commit ff2b1c17b8
1 changed files with 5 additions and 1 deletions

View File

@ -53,7 +53,11 @@
"0ypsm11c7n49pgh2ricyhhpfhas3famscdazzdp2zq70rapm1ldw")))) "0ypsm11c7n49pgh2ricyhhpfhas3famscdazzdp2zq70rapm1ldw"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:make-flags
(list (string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out")
"/lib/R/lib"))
#:phases
(alist-cons-before (alist-cons-before
'check 'set-timezone 'check 'set-timezone
;; Some tests require the timezone to be set. ;; Some tests require the timezone to be set.