Search cmake build root directory

This commit is contained in:
lazymio 2022-04-12 21:05:46 +02:00
parent ae3d529830
commit a6f9fd17d5
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873
1 changed files with 1 additions and 1 deletions

View File

@ -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