diff --git a/srcpkgs/liblastfm/template b/srcpkgs/liblastfm/template index b379ee279d6..1630dc89b13 100644 --- a/srcpkgs/liblastfm/template +++ b/srcpkgs/liblastfm/template @@ -11,6 +11,10 @@ homepage="https://github.com/lastfm/liblastfm" distfiles="https://github.com/lastfm/${pkgname}/archive/${version}.tar.gz" checksum=5276b5fe00932479ce6fe370ba3213f3ab842d70a7d55e4bead6e26738425f7b +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt-host-tools qt-devel" +fi + liblastfm-devel_package() { depends="liblastfm>=${version}_${revision} $makedepends" short_desc+=" - development files"