From 0323d4b88daf6ebae4c962a658dd8d8f5a0827a8 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Mon, 1 May 2023 19:08:24 +0300 Subject: [PATCH 7/7] gnu: guile-png: Fix cross-building. * gnu/packages/guile-xyz.scm (guile-png)[native-inputs]: Add guile-3.0, guile-lib, guile-zlib and guile-smc. --- gnu/packages/guile-xyz.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 461e700fb6..241672f377 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -3869,7 +3869,15 @@ (define-public guile-png (string-append " (png graphics)\n" " (png fsm context))\n" "(log-clear-handlers!)")))))))) - (native-inputs (list autoconf automake pkg-config texinfo)) + (native-inputs (list autoconf + automake + pkg-config + texinfo + ;; needed when cross-compiling. + guile-3.0 + guile-lib + guile-zlib + guile-smc)) (inputs (list bash-minimal guile-3.0 guile-lib guile-zlib)) (propagated-inputs (list guile-smc)) (home-page "https://github.com/artyom-poptsov/guile-png") -- 2.34.1