dino: support cross compilation

This commit is contained in:
Colin 2023-12-09 20:08:04 +00:00 committed by Alyssa Ross
parent 55520e0602
commit 24b57708c6

View file

@ -1,4 +1,5 @@
{ lib, stdenv, fetchFromGitHub
, buildPackages
, vala, cmake, ninja, wrapGAppsHook, pkg-config, gettext
, gobject-introspection, glib, gdk-pixbuf, gtk4, glib-networking
, libadwaita
@ -86,6 +87,10 @@ stdenv.mkDerivation rec {
"-DVERSION_FOUND=true"
"-DVERSION_IS_RELEASE=true"
"-DVERSION_FULL=${version}"
"-DXGETTEXT_EXECUTABLE=${lib.getBin buildPackages.gettext}/bin/xgettext"
"-DMSGFMT_EXECUTABLE=${lib.getBin buildPackages.gettext}/bin/msgfmt"
"-DGLIB_COMPILE_RESOURCES_EXECUTABLE=${lib.getDev buildPackages.glib}/bin/glib-compile-resources"
"-DSOUP_VERSION=${lib.versions.major libsoup.version}"
];
# Undefined symbols for architecture arm64: "_gpg_strerror"