[libvirt PATCH v3] meson: Improve RPATH handling

Andrea Bolognani abologna at redhat.com
Mon Aug 24 07:35:21 UTC 2020


On Wed, 2020-08-19 at 16:29 +0200, Andrea Bolognani wrote:
> Right now we're unconditionally adding RPATH information to the
> installed binaries and libraries, but that's not always desired.
> 
> autotools seem to be smart enough to only include that information
> when targeting a non-standard prefix, so most distro packages
> don't actually contain it; moreover, both Debian and Fedora have
> wiki pages encouraging packagers to avoid setting RPATH:
> 
>   https://wiki.debian.org/RpathIssue
>   https://fedoraproject.org/wiki/RPath_Packaging_Draft
> 
> Implement RPATH logic that Does The Right Thing™ in the most
> common cases, while still offering users the ability to override
> the default behavior if they have specific needs.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  meson.build       | 10 ++++++++++
>  meson_options.txt |  1 +
>  src/meson.build   | 12 ++++++------
>  tools/meson.build |  8 ++++----
>  4 files changed, 21 insertions(+), 10 deletions(-)

A polite ping.

We should really make sure 6.7.0 includes this, because dealing with
the RPATH situation will be pretty annoying for distros otherwise.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list