hedgewars: attempt cross build fix

This commit is contained in:
Toyam Cox 2017-10-29 20:50:26 -04:00
parent 447b5db312
commit 967e3e0a43
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@ distfiles="http://download.gna.org/hedgewars/hedgewars-src-${version}.tar.bz2"
checksum=b699c8971ff420c3edd6533527ae2e99040f1e79207c9140826945bcf0e62192
nopie=yes
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt-host-tools qt-devel"
fi
post_install() {
vinstall ${DESTDIR}/usr/share/hedgewars/Data/misc/hedgewars.desktop 644 usr/share/applications
}