From 25dec7720ea1cf1e656f42f0a4bb636f83a99a4d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 18 Sep 2024 14:51:45 +0300 Subject: [PATCH] gnu: gdk-pixbuf: Fix cross-compiling. * gnu/packages/gtk.scm (gdk-pixbuf)[arguments]: When cross-compiling adjust the configure flags to not build the documentation. Change-Id: I025658468ffaf9518b1debf6165424a587f2c694 --- gnu/packages/gtk.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 3d4766713d..d4290e13aa 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -731,7 +731,10 @@ (define-public gdk-pixbuf (outputs '("out" "debug")) (arguments `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas - #:configure-flags '("-Dinstalled_tests=false" "-Dgtk_doc=true") + #:configure-flags '("-Dinstalled_tests=false" + ,@(if (%current-target-system) + '() + '("-Dgtk_doc=true"))) #:phases (modify-phases %standard-phases (add-before 'configure 'disable-failing-tests