[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: ta-lib: Explicitly link math library.
From: |
guix-commits |
Subject: |
branch master updated: gnu: ta-lib: Explicitly link math library. |
Date: |
Sat, 30 Oct 2021 08:46:14 -0400 |
This is an automated email from the git hooks/post-receive script.
glv pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new d444956 gnu: ta-lib: Explicitly link math library.
d444956 is described below
commit d4449565ed90aabaa6b755dfe1786a1dce370707
Author: Foo Chuan Wei <chuanwei.foo@hotmail.com>
AuthorDate: Fri Oct 29 11:06:43 2021 +0000
gnu: ta-lib: Explicitly link math library.
* gnu/packages/finance.scm (ta-lib)[arguments]: Add 'link-math-library'
phase.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
---
gnu/packages/finance.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index f0093ba..1427735 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1768,7 +1768,17 @@ editing on the Web.")
(base32 "0lf69nna0aahwpgd9m9yjzbv2fbfn081djfznssa84f0n7y1xx4z"))))
(build-system gnu-build-system)
(arguments
- `(;; Parallel build fails with:
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'link-math-library
+ (lambda _
+ (substitute* "src/Makefile.am"
+ (("ta_common/libta_common.la")
+ "ta_common/libta_common.la -lm"))
+ (substitute* "src/Makefile.in"
+ (("\\$\\(libta_lib_la_LDFLAGS\\) \\$\\(LDFLAGS\\) -o \\$@")
+ "$(libta_lib_la_LDFLAGS) $(LDFLAGS) -lm -o $@")))))
+ ;; Parallel build fails with:
;; mv -f .deps/gen_code-gen_code.Tpo .deps/gen_code-gen_code.Po
;; mv: cannot stat '.deps/gen_code-gen_code.Tpo': No such file or
directory
;; Makefile:254: recipe for target 'gen_code-gen_code.o' failed
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: ta-lib: Explicitly link math library.,
guix-commits <=