Skip to content

Commit 1b289c6

Browse files
Merge pull request #238 from LedgerHQ/fix/apa/sysroot_fallback
Fix sysroot fallback
2 parents b790f1f + 0196fab commit 1b289c6

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

ledger_device_sdk/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ledger_device_sdk"
3-
version = "1.20.1"
3+
version = "1.20.2"
44
authors = ["yhql", "yogh333", "agrojean-ledger", "kingofpayne"]
55
edition = "2021"
66
license.workspace = true
@@ -21,7 +21,7 @@ rand_core = { version = "0.6.3", default-features = false }
2121
zeroize = { version = "1.6.0", default-features = false }
2222
numtoa = "0.2.4"
2323
const-zero = "0.1.1"
24-
ledger_secure_sdk_sys = { path = "../ledger_secure_sdk_sys", version = "1.6.4" }
24+
ledger_secure_sdk_sys = { path = "../ledger_secure_sdk_sys", version = "1.6.5" }
2525

2626
[features]
2727
debug = []

ledger_secure_sdk_sys/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ledger_secure_sdk_sys"
3-
version = "1.6.4"
3+
version = "1.6.5"
44
authors = ["yhql", "agrojean-ledger", "yogh333"]
55
edition = "2021"
66
license.workspace = true
@@ -22,4 +22,4 @@ ccid = []
2222

2323
[lints.rust.unexpected_cfgs]
2424
level = "warn"
25-
check-cfg = ['cfg(target_os, values("stax", "flex", "nanos", "nanox", "nanosplus"))']
25+
check-cfg = ['cfg(target_os, values("stax", "flex", "nanos", "nanox", "nanosplus"))']

ledger_secure_sdk_sys/build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ impl SDKBuilder {
319319
.trim();
320320

321321
let gcc_toolchain = if sysroot.is_empty() {
322-
String::from("/usr")
322+
// path for Debian-based systems
323+
String::from("/usr/lib/arm-none-eabi")
323324
} else {
324325
format!("{sysroot}")
325326
};

0 commit comments

Comments
 (0)