[CRIU] [PATCH] criu: add a shell wrapper
Dmitry Safonov
dsafonov at virtuozzo.com
Fri Apr 22 03:11:19 PDT 2016
On 04/22/2016 09:31 AM, Adrian Reber wrote:
> On Thu, Apr 21, 2016 at 12:29:11PM +0300, Dmitry Safonov wrote:
>> Hmm, so what's the point?
>> It can contain multiple paths:
>> LDFLAGS +=
>> -Wl,-rpath,'/lib:/usr/lib:$$ORIGIN/../soccr'
>>
>> Or anything else.
>> Or I didn't get your message right.
> This adds some random path to the resulting binary which is only valid
> during build-time and has no value on the system running the binary.
>
> Various distributions have rules to not use RPATH at all in their
> packages:
>
> https://wiki.debian.org/RpathIssue
> https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Beware_of_Rpath
>
> So RPATH might be useful during testing but not for the released binary.
> There are tools to remove it after the build, but that would add an
> additional step in the package building process.
Ok, so on `make install` target it can be than removed.
--
Regards,
Dmitry Safonov
More information about the CRIU
mailing list