From 4d9eff379eef5dd0dbcf8890923b7180a1090ff1 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Thu, 25 Jan 2024 14:21:09 +0300 Subject: [PATCH] Do not change RPATH Forwarded: not-needed Gbp-Pq: Name Do-not-change-RPATH.patch --- build_scripts/main.py | 3 --- build_scripts/platforms/unix.py | 5 ----- 2 files changed, 8 deletions(-) diff --git a/build_scripts/main.py b/build_scripts/main.py index f748455..92a08c2 100644 --- a/build_scripts/main.py +++ b/build_scripts/main.py @@ -631,9 +631,6 @@ class PysideBuild(_build, DistUtilsCommandMixin): log.info("Created {}".format(build_history)) if not OPTION["SKIP_PACKAGING"]: - # Build patchelf if needed - self.build_patchelf() - # Prepare packages self.prepare_packages() diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py index b842510..8df0e73 100644 --- a/build_scripts/platforms/unix.py +++ b/build_scripts/platforms/unix.py @@ -220,8 +220,3 @@ def prepare_packages_posix(self, vars): if config.is_internal_shiboken_generator_build(): # Copy over clang before rpath patching. self.prepare_standalone_clang(is_win=False) - - # Update rpath to $ORIGIN - if sys.platform.startswith('linux') or sys.platform.startswith('darwin'): - rpath_path = "{st_build_dir}/{st_package_name}".format(**vars) - self.update_rpath(rpath_path, executables) -- 2.30.2