mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Try to fix libharmful fail
This commit is contained in:
parent
d834d9e137
commit
7fe106a0fb
@ -324,7 +324,11 @@ clickhouse_add_executable (clickhouse main.cpp)
|
||||
|
||||
# A library that prevent usage of several functions from libc.
|
||||
if (ARCH_AMD64 AND OS_LINUX AND NOT OS_ANDROID)
|
||||
set (HARMFUL_LIB harmful)
|
||||
if (NOT USE_STATIC_LIBRARIES AND SPLIT_SHARED_LIBRARIES)
|
||||
# shared libraries dev build: not exactly clear why but the server doesn't come up in CI smoke test when libharmful is linked
|
||||
else ()
|
||||
set (HARMFUL_LIB harmful)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
target_link_libraries (clickhouse PRIVATE clickhouse_common_io string_utils ${HARMFUL_LIB})
|
||||
|
Loading…
Reference in New Issue
Block a user