Skip to content

Commit d81bc7e

Browse files
Fix sysroot fallback
1 parent b790f1f commit d81bc7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)