Skip to content

Commit a5bae06

Browse files
baijumeswaniBaiju Meswani
andauthored
lib name is not prepended with lib for macos and linux (#605)
Co-authored-by: Baiju Meswani <baijumeswani@Baijus-Mac-mini.local>
1 parent f3a8039 commit a5bae06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/rust/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ fn download_and_extract(pkg: &NuGetPackage, rid: &str, out_dir: &Path) -> Result
216216
fn libs_already_present(out_dir: &Path) -> bool {
217217
let core_lib = match env::consts::OS {
218218
"windows" => "Microsoft.AI.Foundry.Local.Core.dll",
219-
"linux" => "libMicrosoft.AI.Foundry.Local.Core.so",
220-
"macos" => "libMicrosoft.AI.Foundry.Local.Core.dylib",
219+
"linux" => "Microsoft.AI.Foundry.Local.Core.so",
220+
"macos" => "Microsoft.AI.Foundry.Local.Core.dylib",
221221
_ => return false,
222222
};
223223
out_dir.join(core_lib).exists()

0 commit comments

Comments
 (0)