p4c: use dynamic linkage for Protobuf

This commit is contained in:
Raito Bezarius 2022-09-29 00:40:36 +02:00
parent 17b1f4e699
commit 5e23d52163

View file

@ -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"
];