Merge pull request #123936 from Mindavi/libgudev/cross-compilation

libgudev: support cross-compilation by disabling introspection and vala
This commit is contained in:
Jan Tojnar
2021-05-23 17:11:42 +02:00
committed by GitHub
@@ -37,6 +37,9 @@ stdenv.mkDerivation rec {
mesonFlags = [
# There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway
"-Dtests=disabled"
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
"-Dintrospection=disabled"
"-Dvapi=disabled"
];
passthru = {