From: messense Date: Tue, 17 Mar 2026 21:03:27 +0800 Subject: Update lddtree to 0.5.0 Origin: backport, https://github.com/PyO3/maturin/commit/7037de2ffb3c156ff33afe2fb3cfc06aaffc1ce0 Last-Update: 2026-07-31 --- Cargo.toml | 2 +- src/build_context.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2b957d1..b9b08ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,7 +78,7 @@ python-pkginfo = "0.6.5" textwrap = "0.16.1" ignore = "0.4.20" itertools = ">= 0.12.1, < 0.15" -lddtree = "0.3.7" +lddtree = "0.5.0" cc = "1.0.88" dunce = "1.0.2" normpath = "1.1.1" diff --git a/src/build_context.rs b/src/build_context.rs index 1bfc8c7..ee8a784 100644 --- a/src/build_context.rs +++ b/src/build_context.rs @@ -459,7 +459,7 @@ impl BuildContext { fs::set_permissions(&dest_path, perms)?; patchelf::set_soname(&dest_path, &new_soname)?; - if !lib.rpath.is_empty() || !lib.runpath.is_empty() { + if !lib.rpath.is_empty() { patchelf::set_rpath(&dest_path, &libs_dir)?; } soname_map.insert(