Merge pull request #175983 from Mindavi/libqmi/cross

libqmi: disable introspection and gtk-doc when cross-compiling
This commit is contained in:
Rick van Schijndel
2022-06-07 07:31:06 +02:00
committed by GitHub
@@ -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;