diff --git a/crates/llama-cpp-server/build.rs b/crates/llama-cpp-server/build.rs index 12e422e84d1b..0b2cf3e63b13 100644 --- a/crates/llama-cpp-server/build.rs +++ b/crates/llama-cpp-server/build.rs @@ -11,6 +11,7 @@ fn main() { let mut config = Config::new("./llama.cpp"); config.profile("Release"); config.define("LLAMA_NATIVE", "OFF"); + config.define("BUILD_SHARED_LIBS", "OFF"); config.define("INS_ENB", "ON"); if cfg!(target_os = "macos") {