[libvirt PATCH v2 1/1] meson: Drop RPATH usage
Pavel Hrdina
phrdina at redhat.com
Wed Aug 19 11:22:58 UTC 2020
On Wed, Aug 19, 2020 at 12:47:40PM +0200, Andrea Bolognani wrote:
> Right now we're unconditionally adding RPATH information to the
> installed binaries and libraries, but that's not always desired.
>
> Debian explicitly passes --disable-rpath to configure, and while
> I haven't been able to find the same option in the spec file for
> either Fedora or RHEL, by running
>
> $ readelf -d /usr/bin/virsh | grep PATH
>
> I can see that the information is not present, so I assume they
> also strip it somehow.
>
> 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
>
> Given the above, it looks like it's actually better to not go
> out of our way to include that information in the first place.
I need to look into this because I remember adding the rpath there as
a result that something was not working correctly but now I don't
remember what was it. Originally I did not have it there.
Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200819/9370a7d9/attachment-0001.sig>
More information about the libvir-list
mailing list