Linux binary: Remove any RPATH build artifacts from bundled libraries

Thanks to Dan Egnor for pointing these out.
This commit is contained in:
Kovid Goyal 2021-07-29 13:12:49 +05:30
parent c6ec2d4282
commit 5e629d5c09
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,8 @@ def copy_libs(env):
for x in binary_includes():
dest = env.bin_dir if '/bin/' in x else env.lib_dir
shutil.copy2(x, dest)
dest = os.path.join(dest, os.path.basename(x))
subprocess.check_call(['chrpath', '-d', dest])
def copy_python(env):

View File

@ -21,6 +21,8 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
- broadcast kitten: Fix a regression in ``0.20.0`` that broke sending of some
keys, such as backspace
- Linux binary: Remove any RPATH build artifacts from bundled libraries
0.22.0 [2021-07-26]
----------------------