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

Fix missing system libs on mac.

Kishore Nallan344ab3b4e5f5
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5da00fd2..abe43774 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -157,7 +157,9 @@ if (APPLE)
FIND_PACKAGE(ngHTTP2 REQUIRED)
set(CURL_LIBRARIES ${NGHTTP2_LIBRARIES} ${CURL_LIBRARIES}) # nghttp2 was not being statically built
- set(SYSTEM_LIBS "-framework Foundation" "-framework SystemConfiguration")
+ set(SYSTEM_LIBS "-framework Foundation" "-framework SystemConfiguration" "-framework CoreText"
+ "-framework CoreGraphics" "-framework Security" "-framework Foundation"
+ "-Wl,-U,_MallocExtension_ReleaseFreeMemory" "-Wl,-U,_ProfilerStart" "-Wl,-U,_ProfilerStop")
else()
set(STD_LIB -static-libgcc -static-libstdc++)
list(APPEND STACKTRACE_LIBS dw elf)