diff --git a/bypy/linux/__main__.py b/bypy/linux/__main__.py index d35d37330..ce2bc31b3 100644 --- a/bypy/linux/__main__.py +++ b/bypy/linux/__main__.py @@ -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): diff --git a/docs/changelog.rst b/docs/changelog.rst index 1478ffd0c..5651307d7 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -21,6 +21,8 @@ To update |kitty|, :doc:`follow the instructions `. - 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] ----------------------