Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Disable building of shared library for iconv.

Kishore Nallanf41799131e3a
diff --git a/cmake/Iconv.cmake b/cmake/Iconv.cmake
index e87c6b5e..74cf1df8 100644
--- a/cmake/Iconv.cmake
+++ b/cmake/Iconv.cmake
@@ -16,7 +16,7 @@ endif()
if(NOT EXISTS ${DEP_ROOT_DIR}/${ICONV_NAME}/Makefile AND BUILD_DEPS STREQUAL "yes")
message("Configuring libconv locally...")
- execute_process(COMMAND ./configure "--enable-static" WORKING_DIRECTORY ${DEP_ROOT_DIR}/${ICONV_NAME}/ RESULT_VARIABLE ICONV_CONFIGURE)
+ execute_process(COMMAND ./configure "--enable-static=yes" "--enable-shared=no" WORKING_DIRECTORY ${DEP_ROOT_DIR}/${ICONV_NAME}/ RESULT_VARIABLE ICONV_CONFIGURE)
if(NOT ICONV_CONFIGURE EQUAL 0)
message(FATAL_ERROR "${ICONV_NAME} configure failed!")
endif()