protobuf: build static libraries
mesos needs them
This commit is contained in:
@@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
dontDisableStatic = true;
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = with stdenv.lib;
|
NIX_CFLAGS_COMPILE = with stdenv.lib;
|
||||||
# gcc before 6 doesn't know this option
|
# gcc before 6 doesn't know this option
|
||||||
optionalString (hasPrefix "gcc-6" stdenv.cc.cc.name) "-Wno-error=misleading-indentation";
|
optionalString (hasPrefix "gcc-6" stdenv.cc.cc.name) "-Wno-error=misleading-indentation";
|
||||||
|
|||||||
Reference in New Issue
Block a user