gnu: guile-zlib: Fix cross-compilation.

* gnu/packages/guile.scm (guile-zlib)[native-inputs]: Add "guile" when
cross-compiling.
This commit is contained in:
Mathieu Othacehe 2020-08-24 15:01:38 +02:00
parent 4c0c65acfa
commit 65777dce0f
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -803,7 +803,10 @@ (define-public guile-zlib
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("pkg-config" ,pkg-config)))
("pkg-config" ,pkg-config)
,@(if (%current-target-system)
`(("guile" ,guile-3.0)) ;for 'guild compile' and 'guile-3.0.pc'
'())))
(inputs
`(("guile" ,guile-3.0)
("zlib" ,zlib)))