make changes needed to build mongodb

This commit is contained in:
Jude Taylor
2015-07-23 15:47:16 -07:00
parent 748da7e541
commit 4fab7321bf
6 changed files with 41 additions and 1 deletions
@@ -10,6 +10,12 @@ stdenv.mkDerivation rec {
buildInputs = [ unzip ] ++ stdenv.lib.optional stdenv.isLinux libunwind;
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace Makefile.am --replace stdc++ c++
substituteInPlace Makefile.in --replace stdc++ c++
substituteInPlace libtool --replace stdc++ c++
'';
# some packages want to link to the static tcmalloc_minimal
# to drop the runtime dependency on gperftools
dontDisableStatic = true;