e1822696f3
- Bugfix update to 5.5.56 - Re-roll patches - Convert patches to new naming convention - Add/move ldconfig config to -server - Move client option to -client port
16 lines
542 B
CMake
16 lines
542 B
CMake
--- cmake/jemalloc.cmake.orig 2017-04-30 11:09:29 UTC
|
|
+++ cmake/jemalloc.cmake
|
|
@@ -22,11 +22,11 @@ MACRO (CHECK_JEMALLOC)
|
|
SET(libname jemalloc)
|
|
ENDIF()
|
|
|
|
- CHECK_LIBRARY_EXISTS(${libname} malloc_stats_print "" HAVE_JEMALLOC)
|
|
+ CHECK_LIBRARY_EXISTS(c malloc_stats_print "" HAVE_JEMALLOC)
|
|
SET(CMAKE_REQUIRED_LIBRARIES)
|
|
|
|
IF (HAVE_JEMALLOC)
|
|
- SET(LIBJEMALLOC ${libname})
|
|
+ SET(LIBJEMALLOC c)
|
|
ELSEIF (NOT WITH_JEMALLOC STREQUAL "auto")
|
|
MESSAGE(FATAL_ERROR "${libname} is not found")
|
|
ENDIF()
|