diff --git a/srcpkgs/eog/template b/srcpkgs/eog/template index 29e40ab86e..bd8ee9e6b8 100644 --- a/srcpkgs/eog/template +++ b/srcpkgs/eog/template @@ -17,11 +17,14 @@ distfiles="${GNOME_SITE}/eog/${version%.*}/eog-${version}.tar.xz" checksum=fdb0739f8420af2ffb8e91c766a154afefdf20f721ad34b56cab27fd1569f42c shlib_provides="libeog.so" lib32disabled=yes -nocross="Can not use target eog as a generator because it is cross-built" build_options="gir" build_options_default="gir" +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" libglib-devel" +fi + eog-devel_package() { depends="${sourcepkg}-${version}_${revision} gtk+3-devel" short_desc+=" - development files"