diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2020-08-24 15:01:38 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2020-08-24 15:01:38 +0200 |
commit | 65777dce0fd1e971d574f5423d416c136d720727 (patch) | |
tree | 2630e465d9c1aa98295baa02262763085b2edf21 /gnu | |
parent | 4c0c65acfade63ce0549115d19db4b639c1e9992 (diff) | |
download | guix-65777dce0fd1e971d574f5423d416c136d720727.tar.gz guix-65777dce0fd1e971d574f5423d416c136d720727.zip |
gnu: guile-zlib: Fix cross-compilation.
* gnu/packages/guile.scm (guile-zlib)[native-inputs]: Add "guile" when
cross-compiling.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/guile.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 71d8a7bfde..99c5a2dc9d 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -803,7 +803,10 @@ manipulate repositories of the Git version control system.") (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))) |