diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-08-25 11:02:28 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-09-20 11:15:08 +0000 |
commit | 2b16755f99997c42b986e75c3e48164884afb245 (patch) | |
tree | fcfaf6d7fff7746fc190367516730fe800a03f72 /gnu/packages | |
parent | 1bd0dcf228b01caf552a06acc75a1ec212a05d6c (diff) | |
download | guix-2b16755f99997c42b986e75c3e48164884afb245.tar.gz |
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/gtk.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 8a0c7c5f6e..12132db50c 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -328,7 +328,11 @@ representing trie. Trie is a kind of digital search tree.") "/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") |