For cross builds you probably need to add a statement like this:
```
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-tools-devel qt5-svg-devel"
hostmakedepends+=" qt5-webkit-devel qt5-xmlpatterns-devel qt5-multimedia-devel"
hostmakedepends+=" qt5-sensors-devel qt5-declarative-devel qt5-location-devel"
hostmakedepends+=" qt5-webchannel-devel"
fi
```
Wild guess: The linker giving errors for missing symbols when cross compiling may be a case of `gcc-6.3.0` eliminating unused code. You could try, if `CXXFLAGS="-fno-lifetime-dse"` in the global section helps.
Unfortunately that does not work (I hope _global_ means at the end of the t=
emplate, tried it in `configure_args` as well)
I could not find anything similar in the [Arch PKGBUILD](https://git.archli=
nux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=3Dpackages/sigil) or i=
n the [Gentoo ebuild](https://gitweb.gentoo.org/repo/gentoo.git/tree/app-te=
xt/sigil/sigil-0.9.6.ebuild) as well =F0=9F=98=9E=20
--=20
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/pull/5650#issuecomment-278375802=
Just adding `python3-devel` to the list of `hostmakedepends+=3D"=E2=80=A6"`=
inside the `if` statement solves cross building, i.e.
```
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=3D" qt5-host-tools qt5-tools-devel qt5-svg-devel"
hostmakedepends+=3D" qt5-webkit-devel qt5-xmlpatterns-devel qt5-mul=
timedia-devel"
hostmakedepends+=3D" qt5-sensors-devel qt5-declarative-devel qt5-lo=
cation-devel"
hostmakedepends+=3D" qt5-webchannel-devel python3-devel"
fi
```
--=20
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/pull/5650#issuecomment-278501743=
That's it =F0=9F=98=83 =
-- =
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/pull/5650#issuecomment-2787106=
18=