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
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue