summary refs log tree commit diff
path: root/gnu/packages/guile.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-08-24 15:02:29 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-08-24 15:02:29 +0200
commit0c50d7231b124e7389d4cb0ab117a3d7dce1b817 (patch)
tree4974f56b51860d07dfb160665309c5434667095c /gnu/packages/guile.scm
parent65777dce0fd1e971d574f5423d416c136d720727 (diff)
downloadguix-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/guile.scm')
-rw-r--r--gnu/packages/guile.scm5
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)))