Disable jemalloc (#200)
Disable jemalloc (#200)

Workaround / Closes neovim/neovim#5681

Reproduced by mhinz building from source (without homebrew), with this patch:

diff --git i/third-party/cmake/BuildJeMalloc.cmake w/third-party/cmake/BuildJeMalloc.cmake
index 637aadaad..6efbff9aa 100644
--- i/third-party/cmake/BuildJeMalloc.cmake
+++ w/third-party/cmake/BuildJeMalloc.cmake
@@ -20 +20 @@ ExternalProject_Add(jemalloc
-     CC=${DEPS_C_COMPILER} --prefix=${DEPS_INSTALL_DIR}
+     CC=${DEPS_C_COMPILER} --prefix=${DEPS_INSTALL_DIR} --with-jemalloc-prefix=
@@ -22 +22 @@ ExternalProject_Add(jemalloc
-  INSTALL_COMMAND ${MAKE_PRG} install_include install_lib_static)
+  INSTALL_COMMAND ${MAKE_PRG} install_include)

References:
https://github.com/DomT4/homebrew-core/commit/300ff53e8e10f582846c7e898ea602dc2820fe3a
https://github.com/neovim/neovim/commit/8130eb1191aece52d8b2790302abf1bd09aaf90f

jszakmeister/homebrew-neovim