Once ClickHouse/clickhouse-cpp#454 is merged, upgrade the submodule to use it and restore support for using clickhouse-cpp as a dynamic library on Linux. The only change required, other than the submodule, should be:
--- a/Makefile
+++ b/Makefile
@@ -33,9 +33,9 @@ CH_CPP_FLAGS = -D CMAKE_BUILD_TYPE=Release -D WITH_OPENSSL=ON
# Build static on Darwin by default.
ifndef ($(CH_BUILD))
-# ifeq ($(OS),darwin)
+ifeq ($(OS),darwin)
CH_BUILD = static
-# endif
+endif
endif
# Are we statically compiling clickhouse-cpp into the extension or no?
Once ClickHouse/clickhouse-cpp#454 is merged, upgrade the submodule to use it and restore support for using clickhouse-cpp as a dynamic library on Linux. The only change required, other than the submodule, should be: