mirror of
https://github.com/apache/arrow.git
synced 2026-10-28 16:47:19 +08:00
Also link static libs to librt
Change-Id: I0d6c69f0b47a1379b0be85be89e909b776c12678
This commit is contained in:
1 parent
bac694df25
commit
44f0cfc5d4
1 file changed
+2
@@ -971,11 +971,13 @@ if (ARROW_JEMALLOC)
|
||||
# For glibc <2.17 we need to link to librt.
|
||||
# As we compile with --as-needed by default, the linker will omit this
|
||||
# dependency if not required.
|
||||
${PTHREAD_LIBRARY}
|
||||
rt
|
||||
)
|
||||
else()
|
||||
set(ARROW_JEMALLOC_SHARED_LINK_LIBS
|
||||
jemalloc_static
|
||||
${PTHREAD_LIBRARY}
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user