From 2cdfed94d92299479d9d022f9d88dd11cf785a29 Mon Sep 17 00:00:00 2001 From: Morgan Funtowicz Date: Sun, 3 Nov 2024 00:53:17 +0100 Subject: [PATCH] feat(backend): correctly link to shared fmt and spdlog instead of static --- backends/llamacpp/build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/llamacpp/build.rs b/backends/llamacpp/build.rs index 6d6bd514..eefc6403 100644 --- a/backends/llamacpp/build.rs +++ b/backends/llamacpp/build.rs @@ -102,8 +102,8 @@ fn main() { println!("cargo:rustc-link-lib=static=fmtd"); println!("cargo:rustc-link-lib=static=spdlogd"); } else { - println!("cargo:rustc-link-lib=static=fmt"); - println!("cargo:rustc-link-lib=static=spdlog"); + println!("cargo:rustc-link-lib=fmt"); + println!("cargo:rustc-link-lib=spdlog"); } println!("cargo:rustc-link-lib=static=common");