gnu: libthai: Add datrie as native-input when cross-compiling.

This allows the cross-build to succeed.

* gnu/packages/gnome.scm
  (libthai)[native-inputs]: Add "datrie" when cross-compiling.
This commit is contained in:
Maxime Devos 2021-08-25 11:02:28 +02:00 committed by Mathieu Othacehe
parent 1bd0dcf228
commit 2b16755f99
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -328,7 +328,11 @@ (define-public libthai
"/share/doc/libthai/html"))))
(native-inputs
`(("doxygen" ,doxygen)
("pkg-config" ,pkg-config)))
("pkg-config" ,pkg-config)
;; TODO(core-updates): Make this input unconditional.
,@(if (%current-target-system)
`(("datrie" ,libdatrie)) ; for 'trietool'
'())))
(propagated-inputs
`(("datrie" ,libdatrie)))
(synopsis "Thai language support library")