Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4be8fc422f |
@@ -90,7 +90,10 @@ fn fix_xwin_lib_case() -> Result<(), Box<dyn std::error::Error>> {
|
||||
.and_then(|p| p.parent())
|
||||
.ok_or(Error::msg("cannot determine cargo-xwin base dir"))?;
|
||||
|
||||
let xwin_sdk_lib = cargo_xwin_base.join("xwin/sdk/lib/um/x86_64");
|
||||
let arch = env::var("TARGET")
|
||||
.map(|t| t.split('-').next().unwrap_or_default().to_string())
|
||||
.unwrap_or_default();
|
||||
let xwin_sdk_lib = cargo_xwin_base.join("xwin/sdk/lib/um").join(arch);
|
||||
if !xwin_sdk_lib.exists() {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user