Do not change RPATH
authorDmitry Shachnev <mitya57@debian.org>
Thu, 25 Jan 2024 11:21:09 +0000 (14:21 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Tue, 25 Jun 2024 20:47:03 +0000 (23:47 +0300)
Forwarded: not-needed

Gbp-Pq: Name Do-not-change-RPATH.patch

build_scripts/main.py
build_scripts/platforms/unix.py

index f7484550306075d63b5d392b9b6ae6a539ab7aa4..92a08c268ebbfec7186b540ad621e253c6b18160 100644 (file)
@@ -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()
 
index b842510ff4bbbde14a8d1de305971b000f33c3e4..8df0e739c585e4a615cb8c9ad8e9cf55d83d10c6 100644 (file)
@@ -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)