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
This commit is contained in:
Efraim Flashner 2024-09-18 14:51:45 +03:00
parent 0b77f7016c
commit 25dec7720e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -731,7 +731,10 @@ highlighting and other features typical of a source code editor.")
(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