From b26e9def5236c1457d4d2745133eb568f9a6aaf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 7 Feb 2018 09:28:59 +0100 Subject: [PATCH] libaccounts-qt5: fix cross --- srcpkgs/libaccounts-qt5/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/libaccounts-qt5/template b/srcpkgs/libaccounts-qt5/template index 83f31ce0a3..37622063c2 100644 --- a/srcpkgs/libaccounts-qt5/template +++ b/srcpkgs/libaccounts-qt5/template @@ -14,6 +14,10 @@ makedepends="libaccounts-glib-devel qt5-devel" wrksrc="${pkgname/5/}-VERSION_${version}-5b272ae218ccdf1f67f4eed92e2cdbe21c56ceb8" configure_args="LIBDIR=/usr/lib" +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools qt5-devel" +fi + libaccounts-qt5-devel_package() { short_desc+=" - development files" depends="${makedepends} ${sourcepkg}>=${version}_${revision}"