gnutls: add mingw support

part of a larger effort to add mingw support for qtmultimedia
This commit is contained in:
Sean Link 2024-02-23 10:05:07 -07:00 committed by Bjørn Forsman
parent 7b11b26ca8
commit 629acbdc08

View File

@ -64,7 +64,9 @@ stdenv.mkDerivation rec {
hash = "sha256-90/FlUsn1Oxt+7Ed6ph4iLWxJCiaNwOvytoO5SD0Fz4=";
};
outputs = [ "bin" "dev" "out" "man" "devdoc" ];
outputs = [ "bin" "dev" "out" ]
++ lib.optionals (!stdenv.hostPlatform.isMinGW) [ "man" "devdoc" ];
# Not normally useful docs.
outputInfo = "devdoc";
outputDoc = "devdoc";
@ -98,6 +100,8 @@ stdenv.mkDerivation rec {
"--with-unbound-root-key-file=${dns-root-data}/root.key"
(lib.withFeature withP11-kit "p11-kit")
(lib.enableFeature cxxBindings "cxx")
] ++ lib.optionals (stdenv.hostPlatform.isMinGW) [
"--disable-doc"
];
enableParallelBuilding = true;