On Wed, 2020-08-19 at 11:27 +0100, Daniel P. Berrangé wrote:
On Wed, Aug 19, 2020 at 12:18:07PM +0200, Andrea Bolognani wrote:
> Given the above I'm not actually sure whether there even is a
> valid usecase for RPATH, but I will openly admit I don't
> understand the problem space well enough to pass judgement. So,
> assuming there are scenarios where we want RPATH information to
> be present, our only course of action is making its inclusion
> configurable, just like it was with autotools.
I'd like us to query whether we really want rpath at all.
I've looked at various other apps using Meson. Out of glib,
networkmanager, systemd, and gtk, only systemd sets install_rpath
and that's on its binaries.
So I think we could likely simplify by dropping the install_rpath
rules.
That was my thought as well, but I figured I would act conservatively
and try to preserve the current behavior. I'll post an alternative
patch getting rid of RPATH altogether.
--
Andrea Bolognani / Red Hat / Virtualization