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>
This commit is contained in:
Zhu Zihao 2021-01-21 23:06:52 +08:00 committed by Guillaume Le Vaillant
parent 625708b03a
commit 90ad8bd1a6
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -236,7 +236,13 @@ (define-public ecl
`(("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)