From: Dmitry Shachnev Date: Thu, 25 Jan 2024 11:21:09 +0000 (+0300) Subject: Do not change RPATH X-Git-Tag: archive/raspbian/5.15.14-1+rpi1^2^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a62906b5b0626668337128e7827736ea50428e56;p=pyside2.git Do not change RPATH Forwarded: not-needed Gbp-Pq: Name Do-not-change-RPATH.patch --- 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)