jsonnet: fix build on darwin
Not setting -DBUILD_SHARED_BINARIES seems to fix the build on aarch64- darwin and x86_64-darwin. Fixes https://github.com/NixOS/nixpkgs/issues/239912.
This commit is contained in:
parent
02a5e9c933
commit
8e047a58c4
@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
|
||||
cmakeFlags = [
|
||||
"-DUSE_SYSTEM_GTEST=ON"
|
||||
"-DBUILD_STATIC_LIBS=${if stdenv.hostPlatform.isStatic then "ON" else "OFF"}"
|
||||
] ++ lib.optionals (!stdenv.isDarwin) [
|
||||
"-DBUILD_SHARED_BINARIES=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user