From 82aa1cfb64d2fd22470ccc4f222dc024f0c99226 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Tue, 8 Nov 2016 18:36:24 +0100 Subject: [PATCH] qca-qt5: fix cross --- srcpkgs/qca-qt5/template | 4 ++++ 1 file changed, 4 insertions(+) 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