From 5e23d52163e9a5fce7b36620debd36ed3461385d Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Thu, 29 Sep 2022 00:40:36 +0200 Subject: [PATCH] p4c: use dynamic linkage for Protobuf --- pkgs/development/compilers/p4c/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/p4c/default.nix b/pkgs/development/compilers/p4c/default.nix index 816960bc9c0d..dac9011f575a 100644 --- a/pkgs/development/compilers/p4c/default.nix +++ b/pkgs/development/compilers/p4c/default.nix @@ -52,7 +52,7 @@ stdenv.mkDerivation rec { "-DENABLE_DOCS=${toCMakeBoolean enableDocumentation}" "-DENABLE_GC=ON" "-DENABLE_GTESTS=${toCMakeBoolean enableGTests}" - "-DENABLE_PROTOBUF_STATIC=ON" + "-DENABLE_PROTOBUF_STATIC=OFF" # static protobuf has been removed since 3.21.6 "-DENABLE_MULTITHREAD=${toCMakeBoolean enableMultithreading}" "-DENABLE_GMP=ON" ];