| 1 |
From: messense <[email protected]> |
| 2 |
Date: Tue, 17 Mar 2026 21:03:27 +0800 |
| 3 |
Subject: Update lddtree to 0.5.0 |
| 4 |
|
| 5 |
Origin: backport, https://github.com/PyO3/maturin/commit/7037de2ffb3c156ff33afe2fb3cfc06aaffc1ce0 |
| 6 |
Last-Update: 2026-07-31 |
| 7 |
--- |
| 8 |
Cargo.toml | 2 +- |
| 9 |
src/build_context.rs | 2 +- |
| 10 |
2 files changed, 2 insertions(+), 2 deletions(-) |
| 11 |
|
| 12 |
diff --git a/Cargo.toml b/Cargo.toml |
| 13 |
index 2b957d1..b9b08ed 100644 |
| 14 |
--- a/Cargo.toml |
| 15 |
+++ b/Cargo.toml |
| 16 |
@@ -78,7 +78,7 @@ python-pkginfo = "0.6.5" |
| 17 |
textwrap = "0.16.1" |
| 18 |
ignore = "0.4.20" |
| 19 |
itertools = ">= 0.12.1, < 0.15" |
| 20 |
-lddtree = "0.3.7" |
| 21 |
+lddtree = "0.5.0" |
| 22 |
cc = "1.0.88" |
| 23 |
dunce = "1.0.2" |
| 24 |
normpath = "1.1.1" |
| 25 |
diff --git a/src/build_context.rs b/src/build_context.rs |
| 26 |
index 1bfc8c7..ee8a784 100644 |
| 27 |
--- a/src/build_context.rs |
| 28 |
+++ b/src/build_context.rs |
| 29 |
@@ -459,7 +459,7 @@ impl BuildContext { |
| 30 |
fs::set_permissions(&dest_path, perms)?; |
| 31 |
|
| 32 |
patchelf::set_soname(&dest_path, &new_soname)?; |
| 33 |
- if !lib.rpath.is_empty() || !lib.runpath.is_empty() { |
| 34 |
+ if !lib.rpath.is_empty() { |
| 35 |
patchelf::set_rpath(&dest_path, &libs_dir)?; |
| 36 |
} |
| 37 |
soname_map.insert( |