diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-11-21 07:36:40 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-12-09 12:12:42 +0100 |
commit | 471ceb5e5e809af3fa398a14cd402480c9c293cd (patch) | |
tree | 2f210bfb83f6ecb93a3b010597885c67ef5e36ce /gnu/packages/bioinformatics.scm | |
parent | badb4678bdc20a78812efadb6112e72949ed4487 (diff) | |
download | guix-471ceb5e5e809af3fa398a14cd402480c9c293cd.tar.gz |
gnu: r-mzr: Fix linking.
* gnu/packages/bioinformatics.scm (r-mzr)[arguments]: Fix linking with rhdf5 libraries.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 788a947347..14a9775323 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -9701,9 +9701,14 @@ proteomics packages.") (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 |