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
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -1010,7 +1010,11 @@ (define-public wayland
("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