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
commit 75dc5b4a27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;