compositor/plugins: Ensure libdefault has valid RPATH

Correct dependency analysis for required DT_NEEDED entries is
made difficult due to the lack of DT_RPATH, despite all other
installed libraries in the build setting an RPATH.

Whilst it is true dlopen() still works, this is only because
libmutter is already linked to the main executable, which in turn
links to the private libraries via DT_RPATH.

Signed-off-by: Ikey Doherty <ikey@serpentos.com>
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4150>
This commit is contained in:
Ikey Doherty 2024-11-26 20:24:34 +00:00
parent 7f89e5b881
commit f385b276d8

View File

@ -14,5 +14,6 @@ default_plugin = shared_module('default',
libmutter_clutter_dep,
],
install_dir: pkglibdir / 'plugins',
install_rpath: pkglibdir,
install: true,
)