mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: r-mzr: Fix linking.
* gnu/packages/bioinformatics.scm (r-mzr)[arguments]: Fix linking with rhdf5 libraries.
This commit is contained in:
parent
badb4678bd
commit
471ceb5e5e
1 changed files with 7 additions and 2 deletions
|
@ -9701,9 +9701,14 @@ (define-public r-mzr
|
|||
(lambda _
|
||||
(substitute* "src/Makevars"
|
||||
(("\\./boost/libs.*") "")
|
||||
(("ARCH_OBJS=" line)
|
||||
;; This is to avoid having a plain directory on the list of
|
||||
;; libraries to link.
|
||||
(("\\(RHDF5_LIBS\\)" match)
|
||||
(string-append match "/libhdf5.a"))
|
||||
(("PKG_LIBS=") "PKG_LIBS=$(BOOST_LIBS) ")
|
||||
(("\\ARCH_OBJS=" line)
|
||||
(string-append line
|
||||
"\nARCH_LIBS=-lboost_system -lboost_regex \
|
||||
"\nBOOST_LIBS=-lboost_system -lboost_regex \
|
||||
-lboost_iostreams -lboost_thread -lboost_filesystem -lboost_chrono\n")))
|
||||
#t)))))
|
||||
(inputs
|
||||
|
|
Loading…
Reference in a new issue