guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: ecl: Propagate some dependencies used in header files.


From: guix-commits
Subject: 01/03: gnu: ecl: Propagate some dependencies used in header files.
Date: Tue, 2 Feb 2021 04:37:55 -0500 (EST)

glv pushed a commit to branch master
in repository guix.

commit 90ad8bd1a63abbf94f2ebb9f10630773d1f15ece
Author: Zhu Zihao <all_but_last@163.com>
AuthorDate: Thu Jan 21 23:06:52 2021 +0800

    gnu: ecl: Propagate some dependencies used in header files.
    
    * gnu/packages/lisp.scm(ecl)[inputs]: Move gmp, libatomic-ops, libgc and
      libffi to...
      [propagated-inputs]: ... here.
    
    Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
---
 gnu/packages/lisp.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 3c09b0a..69011a3 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -236,7 +236,13 @@ interface to the Tk widget system.")
      `(("cl-asdf" ,cl-asdf)
        ("which" ,which)
        ("texinfo" ,texinfo)))
-    (inputs
+    ;; When ECL is embedded in a program that wants to use Common Lisp as an
+    ;; extension language, libgmp, libatomic-ops, libgc and libffi must be
+    ;; present when compiling the program because they are required by ECL's
+    ;; header file.
+    ;; Therefore we put these libraries in 'propagated-inputs' instead
+    ;; of 'inputs'.
+    (propagated-inputs
      `(("gmp" ,gmp)
        ("libatomic-ops" ,libatomic-ops)
        ("libgc" ,libgc)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]