]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Search for libjemalloc_pic first
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 7 Mar 2019 13:04:15 +0000 (13:04 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 7 Mar 2019 13:05:15 +0000 (13:05 +0000)
CMakeLists.txt

index 7ab6f7c5657d6afc827ed6cdbdff94bf060acb0f..92caae7573957e4b7a26cbf22d4d523324a781da 100644 (file)
@@ -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")