Compare commits
1
Commits
d6fe6ec733
...
4be8fc422f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4be8fc422f |
@@ -90,7 +90,10 @@ fn fix_xwin_lib_case() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
.and_then(|p| p.parent())
|
.and_then(|p| p.parent())
|
||||||
.ok_or(Error::msg("cannot determine cargo-xwin base dir"))?;
|
.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() {
|
if !xwin_sdk_lib.exists() {
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user