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
commit bacd5a971c
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 = {