jansson: enable shared library installation
Without shared libraries metworkmanager fails to build: $ nix build -f. networkmanager -L ... networkmanager> meson.build:269:2: ERROR: Assert failed: Unable to determine Jansson SONAME
This commit is contained in:
parent
69799d9721
commit
938f2ce101
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
# networkmanager relies on libjansson.so:
|
||||
# https://github.com/NixOS/nixpkgs/pull/176302#issuecomment-1150239453
|
||||
cmakeFlags = [ "-DJANSSON_BUILD_SHARED_LIBS=ON" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/akheron/jansson";
|
||||
description = "C library for encoding, decoding and manipulating JSON data";
|
||||
|
|
Loading…
Reference in a new issue