From 700efacda59cf06015ee251e69766083da869c21 Mon Sep 17 00:00:00 2001 From: Greg V Date: Tue, 6 Mar 2018 15:58:37 +0300 Subject: [PATCH] meson: use relative paths in megadriver symlinks e.g. libvdpau_radeonsi.so(.1(.0)) were pointing to the absolute build-time path of libvdpau_radeonsi.so.1.0.0, which caused trouble when packaging the libraries. --- bin/install_megadrivers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install_megadrivers.py b/bin/install_megadrivers.py index 0a28dd7c0c57..2483b32add0e 100644 --- a/bin/install_megadrivers.py +++ b/bin/install_megadrivers.py @@ -66,7 +66,7 @@ def main(): while ext != '.so': if os.path.lexists(name): os.unlink(name) - os.symlink(driver, name) + os.symlink(os.path.relpath(driver), name) name, ext = os.path.splitext(name) finally: os.chdir(ret)