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:
parent
d169b5a84d
commit
d979c916e8
|
@ -1010,7 +1010,11 @@ (define-public wayland
|
||||||
("doxygen" ,doxygen)
|
("doxygen" ,doxygen)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("xmlto" ,xmlto)
|
("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
|
(inputs
|
||||||
`(("expat" ,expat)
|
`(("expat" ,expat)
|
||||||
("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
|
("libxml2" ,libxml2))) ; for XML_CATALOG_FILES
|
||||||
|
|
Loading…
Reference in a new issue