From a787699d5dc163b35a1b1d3867eae48af0df0028 Mon Sep 17 00:00:00 2001 From: newbluemoon Date: Mon, 5 Mar 2018 20:49:48 +0100 Subject: [PATCH] fcitx-rime: fix cross compilation --- srcpkgs/fcitx-rime/template | 4 ++++ 1 file changed, 4 insertions(+) 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