diff --git a/librsvg-2.48.8.ebuild b/librsvg-2.48.8-r1.ebuild index c5ec275..3b80018 100644 --- a/librsvg-2.48.8.ebuild +++ b/librsvg-2.48.8-r1.ebuild @@ -54,6 +54,13 @@ multilib_src_configure() { --enable-pixbuf-loader ) + if tc-is-cross-compiler; then + myconf+=( + --host=${CHOST_default} + RUST_TARGET="$(rust_abi)" + ) + fi + if ! multilib_is_native_abi; then myconf+=( # Set the rust target, which can differ from CHOST