Commit 50db0312 authored by Thomas Fehér's avatar Thomas Fehér Committed by Justin M. Keyes

build: ensure static jemalloc. #3970

Otherwise the dynamic library is built also and find_library will prefer
that over the static one. That results in linking against the dynamic
library which will not be found after install.

This code:
should prevent the above problem, but it doesn't hurt to be explicit.
parent c1544622
......@@ -19,6 +19,6 @@ ExternalProject_Add(jemalloc
CONFIGURE_COMMAND ${DEPS_BUILD_DIR}/src/jemalloc/configure
INSTALL_COMMAND ${MAKE_PRG} install_include install_lib)
INSTALL_COMMAND ${MAKE_PRG} install_include install_lib_static)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment