Search cmake build root directory
This commit is contained in:
@@ -131,7 +131,7 @@ fn build_with_cmake() {
|
|||||||
.expect("Fail to build unicorn on Win32.");
|
.expect("Fail to build unicorn on Win32.");
|
||||||
println!(
|
println!(
|
||||||
"cargo:rustc-link-search={}",
|
"cargo:rustc-link-search={}",
|
||||||
rust_build_path.join(conf).to_str().unwrap()
|
rust_build_path.to_str().unwrap()
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
// Most Unix-like systems
|
// Most Unix-like systems
|
||||||
|
|||||||
Reference in New Issue
Block a user