diff options
author | Jude Taylor <me@jude.bio> | 2015-07-23 15:47:16 -0700 |
---|---|---|
committer | Jude Taylor <me@jude.bio> | 2015-07-23 15:47:16 -0700 |
commit | 4fab7321bf17b23572c57f05aedbf2271e304074 (patch) | |
tree | eae78f47f31a193cf28689a8a6182caef7528866 /pkgs/development/libraries/gperftools | |
parent | 748da7e541dddae21a2658cdad1c3ace4e3937b7 (diff) |
make changes needed to build mongodb
Diffstat (limited to 'pkgs/development/libraries/gperftools')
-rw-r--r-- | pkgs/development/libraries/gperftools/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gperftools/default.nix b/pkgs/development/libraries/gperftools/default.nix index 8c2feccebb7a4..5fa14e64a22f6 100644 --- a/pkgs/development/libraries/gperftools/default.nix +++ b/pkgs/development/libraries/gperftools/default.nix @@ -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; |