mirror of
https://github.com/apache/arrow.git
synced 2026-10-28 16:47:19 +08:00
Use shared jemalloc always if available
This commit is contained in:
1 parent
2205586f3b
commit
2c75f56dba
1 file changed
+1
-1
+1
-1
@@ -952,7 +952,7 @@ if (ARROW_JEMALLOC)
|
||||
# link it in the static requirements. In contrast to other libraries we try in
|
||||
# most cases to use the system provided version of jemalloc to better align with
|
||||
# other potential users of jemalloc.
|
||||
if (JEMALLOC_STATIC_LIB)
|
||||
if (JEMALLOC_STATIC_LIB AND NOT ARROW_JEMALLOC_USE_SHARED)
|
||||
set(ARROW_JEMALLOC_STATIC_LINK_LIBS jemalloc_static)
|
||||
else()
|
||||
set(ARROW_JEMALLOC_STATIC_LINK_LIBS jemalloc_shared)
|
||||
|
||||
Reference in new issue
Block a user