mesos: use static protobuf libraries
This commit is contained in:
parent
49e9a26e77
commit
c2ce38473b
@ -68,6 +68,8 @@ in stdenv.mkDerivation rec {
|
|||||||
--subst-var-by chown ${coreutils}/bin/chown
|
--subst-var-by chown ${coreutils}/bin/chown
|
||||||
|
|
||||||
substituteInPlace 3rdparty/stout/Makefile.am \
|
substituteInPlace 3rdparty/stout/Makefile.am \
|
||||||
|
--replace "-lprotobuf" \
|
||||||
|
"${pythonProtobuf.protobuf}/lib/libprotobuf.a"
|
||||||
|
|
||||||
substituteInPlace 3rdparty/stout/include/stout/os/posix/fork.hpp \
|
substituteInPlace 3rdparty/stout/include/stout/os/posix/fork.hpp \
|
||||||
--subst-var-by sh ${bash}/bin/bash
|
--subst-var-by sh ${bash}/bin/bash
|
||||||
@ -94,6 +96,8 @@ in stdenv.mkDerivation rec {
|
|||||||
--subst-var-by mesos-resolve $out/bin/mesos-resolve
|
--subst-var-by mesos-resolve $out/bin/mesos-resolve
|
||||||
|
|
||||||
substituteInPlace src/python/native_common/ext_modules.py.in \
|
substituteInPlace src/python/native_common/ext_modules.py.in \
|
||||||
|
--replace "-lprotobuf" \
|
||||||
|
"${pythonProtobuf.protobuf}/lib/libprotobuf.a"
|
||||||
|
|
||||||
substituteInPlace src/slave/containerizer/mesos/isolators/gpu/volume.cpp \
|
substituteInPlace src/slave/containerizer/mesos/isolators/gpu/volume.cpp \
|
||||||
--subst-var-by cp ${coreutils}/bin/cp \
|
--subst-var-by cp ${coreutils}/bin/cp \
|
||||||
@ -117,6 +121,8 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
substituteInPlace src/Makefile.am \
|
substituteInPlace src/Makefile.am \
|
||||||
--subst-var-by mavenRepo ${mavenRepo} \
|
--subst-var-by mavenRepo ${mavenRepo} \
|
||||||
|
--replace "-lprotobuf" \
|
||||||
|
"${pythonProtobuf.protobuf}/lib/libprotobuf.a"
|
||||||
|
|
||||||
'' + lib.optionalString stdenv.isLinux ''
|
'' + lib.optionalString stdenv.isLinux ''
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user