libqmi: disable introspection and gtk-doc when cross-compiling

This commit is contained in:
Rick van Schijndel 2022-06-02 21:09:41 +02:00
parent 8d36a138eb
commit 4293c8d970

View file

@ -45,8 +45,8 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-udev-base-dir=${placeholder "out"}/lib/udev"
"--enable-gtk-doc"
"--enable-introspection"
"--enable-gtk-doc=${if (stdenv.buildPlatform == stdenv.hostPlatform) then "yes" else "no"}"
"--enable-introspection=${if (stdenv.buildPlatform == stdenv.hostPlatform) then "yes" else "no"}"
];
enableParallelBuilding = true;