diff --git a/srcpkgs/fcitx-rime/template b/srcpkgs/fcitx-rime/template index 93f2f633b2..62af60de5a 100644 --- a/srcpkgs/fcitx-rime/template +++ b/srcpkgs/fcitx-rime/template @@ -12,3 +12,7 @@ license="GPL-3" homepage="https://github.com/fcitx/fcitx-rime" distfiles="https://github.com/fcitx/fcitx-rime/archive/${version}.tar.gz" checksum=dcf9dc689b3675c3321cd43407efe7363b8b6c088f2283ea9a510110b5f24b14 + +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" libfcitx" +fi