diff --git a/srcpkgs/qca-qt5/template b/srcpkgs/qca-qt5/template index 5584740a847..576b1065710 100644 --- a/srcpkgs/qca-qt5/template +++ b/srcpkgs/qca-qt5/template @@ -19,6 +19,10 @@ checksum=226dcd76138c3738cdc15863607a96b3758a4c3efd3c47295939bcea4e7a9284 provides="qca-${version}_${revision}" replaces="qca>=0" +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools qt5-devel" +fi + pre_configure() { sed -e "s;-D_BSD_SOURCE;-D_DEFAULT_SOURCE;" \ -i CMakeLists.txt