From 90ad8bd1a63abbf94f2ebb9f10630773d1f15ece Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Thu, 21 Jan 2021 23:06:52 +0800 Subject: 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 --- 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 3c09b0af8a..69011a3197 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) -- cgit v1.2.3