Merge pull request #18275 from taktoa/patch-1
libmsgpack: fixed mingw32 cross-build
This commit is contained in:
commit
51a7553ea5
@ -8,7 +8,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
inherit src patches;
|
||||
|
||||
buildInputs = [ cmake ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
crossAttrs = {
|
||||
} // stdenv.lib.optionalAttrs (stdenv.cross.libc == "msvcrt") {
|
||||
cmakeFlags = "-DMSGPACK_BUILD_EXAMPLES=OFF -DCMAKE_SYSTEM_NAME=Windows";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "MessagePack implementation for C and C++";
|
||||
|
Loading…
Reference in New Issue
Block a user