makewheel: Set --force-rpath when calling patchelf
This is necessary to avoid the creation of a DT_RUNPATH instead of DT_RPATH. DT_RUNPATH does not have the desired behaviour.
This commit is contained in:
parent
5c98c6fb71
commit
4a62cc13be
|
|
@ -455,7 +455,7 @@ class WheelFile(object):
|
|||
self.consider_add_dependency(target_dep, dep)
|
||||
|
||||
subprocess.call(["strip", "-s", temp.name])
|
||||
subprocess.call(["patchelf", "--set-rpath", "$ORIGIN", temp.name])
|
||||
subprocess.call(["patchelf", "--force-rpath", "--set-rpath", "$ORIGIN", temp.name])
|
||||
|
||||
source_path = temp.name
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue