diff options
author | Patrik Teivonen <patrik.teivonen@qt.io> | 2022-10-17 12:12:20 +0300 |
---|---|---|
committer | Patrik Teivonen <patrik.teivonen@qt.io> | 2023-03-07 13:34:46 +0000 |
commit | 4fb4a4b8d93e6defe3537909188f42c5bc3f7c89 (patch) | |
tree | 6137c7f832da10bcbaea54eb7e801252a8c022be /packaging-tools/tests/assets/runpath/testbin_no_rpath | |
parent | 79eaf24084f9040e5a15ad63216e9d5a55e3d928 (diff) |
bldinstallercommon.py: Refactor RPATH/RUNPATH patching
Simplify RPATH/RUNPATH patching functionality.
Make calculate_relpath() use pathlib.
Remove unreliable length check, chrpath fails with the error msg.
Improve unit tests, add some test ELF binaries.
Fix certain input not producing correct relative output paths.
Task-number: QTBUG-106027
Change-Id: I33f89f934215d456b428713471db1fe5d89abbd8
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'packaging-tools/tests/assets/runpath/testbin_no_rpath')
-rwxr-xr-x | packaging-tools/tests/assets/runpath/testbin_no_rpath | bin | 0 -> 15960 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/packaging-tools/tests/assets/runpath/testbin_no_rpath b/packaging-tools/tests/assets/runpath/testbin_no_rpath Binary files differnew file mode 100755 index 000000000..8a7f7dde5 --- /dev/null +++ b/packaging-tools/tests/assets/runpath/testbin_no_rpath |