1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-21 00:25:58 +02:00

gnu: wayland: Find wayland-scanner when cross-compiling.

* gnu/packages/freedesktop.scm (wayland)[native-inputs]: Add
  pkg-config-for-build and 'this-package' when cross-compiling.
This commit is contained in:
Maxime Devos
2021-08-25 15:27:18 +02:00
committed by Mathieu Othacehe
parent d169b5a84d
commit d979c916e8
+5 -1
View File
@@ -1010,7 +1010,11 @@ Python.")
("doxygen" ,doxygen)
("pkg-config" ,pkg-config)
("xmlto" ,xmlto)
("xsltproc" ,libxslt)))
("xsltproc" ,libxslt)
,@(if (%current-target-system)
`(("pkg-config-for-build" ,pkg-config-for-build)
("wayland" ,this-package)) ; for wayland-scanner
'())))
(inputs
`(("expat" ,expat)
("libxml2" ,libxml2))) ; for XML_CATALOG_FILES