libaccounts-qt5: fix cross

This commit is contained in:
Jürgen Buchmüller 2018-02-07 09:28:59 +01:00
parent c1049b7c7d
commit b26e9def52
1 changed files with 4 additions and 0 deletions

View File

@ -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}"