Skip to content

Commit

Permalink
libqmi: disable introspection and gtk-doc when cross-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
Mindavi committed Jun 2, 2022
1 parent 8d36a13 commit 4293c8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/libraries/libqmi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4293c8d

Please sign in to comment.