protobuf: build static libraries

mesos needs them
This commit is contained in:
Robin Gloster
2017-09-28 12:57:54 +02:00
parent dabb296c76
commit 49e9a26e77

View File

@@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
doCheck = true;
dontDisableStatic = true;
NIX_CFLAGS_COMPILE = with stdenv.lib;
# gcc before 6 doesn't know this option
optionalString (hasPrefix "gcc-6" stdenv.cc.cc.name) "-Wno-error=misleading-indentation";