File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,4 +45,10 @@ add_library(_amqp-cpp ${SRCS})
4545
4646target_include_directories (_amqp-cpp SYSTEM BEFORE PUBLIC "${LIBRARY_DIR} /include" "${LIBRARY_DIR} " )
4747target_link_libraries (_amqp-cpp PUBLIC OpenSSL::Crypto OpenSSL::SSL ch_contrib::uv )
48+
49+ # errno.h should've been explicitly included in sslerrorprinter.cpp, hack to fix it:
50+ target_compile_options (_amqp-cpp
51+ PRIVATE -includeerrno.h
52+ )
53+
4854add_library (ch_contrib::amqp_cpp ALIAS _amqp-cpp )
Original file line number Diff line number Diff line change @@ -64,4 +64,9 @@ inline void EVP_CIPHER_free(EVP_CIPHER *cipher)
6464 (void )(cipher );
6565}
6666
67+ // Required for contrib/minizip-ng/mz_crypt_openssl.c mz_crypt_init()
68+ // since there are no dynamically loaded engines, disabling the flag is Ok:
69+ // all engines are initialized anyway
70+ # define OPENSSL_INIT_ENGINE_ALL_BUILTIN 0
71+
6772#endif
Original file line number Diff line number Diff line change @@ -283,9 +283,13 @@ def parse_env_variables(
283283
284284 # FIPS mode begin
285285 cmake_flags .append ("-DFIPS_CLICKHOUSE=1" )
286+ # TODO(vnemkov): this is transitional measures, make sure to either enable all libraries or disable some selectively before releasing
286287 cmake_flags .append ("-DENABLE_LIBRARIES=0" )
287288 cmake_flags .append ("-DENABLE_NURAFT=1" )
288289 cmake_flags .append ("-DENABLE_YAML_CPP=1" )
290+ cmake_flags .append ("-DENABLE_AMQPCPP=1" )
291+ cmake_flags .append ("-DENABLE_MINIZIP=1" )
292+ cmake_flags .append ("-DENABLE_CASSANDRA=1" )
289293 # FIPS mode end
290294
291295 # Reduce linking and building time by avoid *install/all dependencies
You can’t perform that action at this time.
0 commit comments