Merge pull request #126165 from erdnaxe/backport

[21.05] libgudev: support cross-compilation by disabling introspection and vala
This commit is contained in:
Jörg Thalheim 2021-07-18 11:47:51 +01:00 committed by GitHub
commit a3a2205e49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = {