commit 39ed10e: [Minor] Search for libjemalloc_pic first

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Mar 7 13:07:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-03-07 13:04:15 +0000
URL: https://github.com/rspamd/rspamd/commit/39ed10ed8fbc506845adb0b44b6ba40a8447b672 (HEAD -> master)

[Minor] Search for libjemalloc_pic first

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7ab6f7c56..92caae757 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -627,7 +627,7 @@ ELSE(ENABLE_LUAJIT MATCHES "ON")
 ENDIF(ENABLE_LUAJIT MATCHES "ON")
 
 IF(ENABLE_JEMALLOC MATCHES "ON")
-	ProcessPackage(JEMALLOC LIBRARY jemalloc INCLUDE jemalloc.h INCLUDE_SUFFIXES include/jemalloc
+	ProcessPackage(JEMALLOC LIBRARY jemalloc_pic jemalloc INCLUDE jemalloc.h INCLUDE_SUFFIXES include/jemalloc
 		ROOT ${JEMALLOC_ROOT_DIR} MODULES jemalloc)
 	SET(WITH_JEMALLOC "1")
 	LIST(APPEND RSPAMD_REQUIRED_LIBRARIES "-lpthread")


More information about the Commits mailing list