diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2020-08-24 15:02:29 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2020-08-24 15:02:29 +0200 |
commit | 0c50d7231b124e7389d4cb0ab117a3d7dce1b817 (patch) | |
tree | 4974f56b51860d07dfb160665309c5434667095c /gnu/packages | |
parent | 65777dce0fd1e971d574f5423d416c136d720727 (diff) | |
download | guix-0c50d7231b124e7389d4cb0ab117a3d7dce1b817.tar.gz |
gnu: guile-lzlib: Fix cross-compilation.
* gnu/packages/guile.scm (guile-lzlib)[native-inputs]: Add "guile" when cross-compiling.
Diffstat (limited to 'gnu/packages')
-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 99c5a2dc9d..c59daeebe2 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -839,7 +839,10 @@ Guile's foreign function interface.") (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) ("lzlib" ,lzlib))) |