diff --git a/srcpkgs/kscreen/template b/srcpkgs/kscreen/template index 2d2a0b27d5..cfca6cfcee 100644 --- a/srcpkgs/kscreen/template +++ b/srcpkgs/kscreen/template @@ -13,4 +13,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://projects.kde.org/projects/plasma/kscreen" distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" checksum=43f78c55cca7c14aa1ae697fbda2f2179e73e65c8850d5e38ad164d538854b51 -nocross="Exec format error on compiling" + +if [ "$CROSS_BUILD" ]; then + configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson" +fi