From a6f9fd17d503e3a25e2bf76b06ef9af02348dae0 Mon Sep 17 00:00:00 2001 From: lazymio Date: Tue, 12 Apr 2022 21:05:46 +0200 Subject: [PATCH] Search cmake build root directory --- bindings/rust/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/rust/build.rs b/bindings/rust/build.rs index 9f03b93a..67a2a13e 100644 --- a/bindings/rust/build.rs +++ b/bindings/rust/build.rs @@ -131,7 +131,7 @@ fn build_with_cmake() { .expect("Fail to build unicorn on Win32."); println!( "cargo:rustc-link-search={}", - rust_build_path.join(conf).to_str().unwrap() + rust_build_path.to_str().unwrap() ); } else { // Most Unix-like systems