libgudev: support cross-compilation by disabling introspection and vala
(cherry picked from commit 05aa68850cc55bad5a1829f0bd3995c82a8029db)
This commit is contained in:
parent
0507e901b3
commit
20d9ca119b
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue