Re: Use relative rpath if possible - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Use relative rpath if possible
Date
Msg-id f9d4d582-f587-d679-a2cd-577c6c219e19@2ndquadrant.com
Whole thread Raw
In response to Use relative rpath if possible  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: Use relative rpath if possible  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
rebased patch attached, no functionality changes

On 2019-06-27 13:45, Peter Eisentraut wrote:
> On several popular operating systems, we can use relative rpaths, using
> the $ORIGIN placeholder, so that the resulting installation is
> relocatable.  Then we also don't need to set LD_LIBRARY_PATH during make
> check.
> 
> This implementation will use a relative rpath if bindir and libdir are
> under the same common parent directory.
> 
> Supported platforms are: freebsd, linux, netbsd, openbsd, solaris
> 
> Information from https://lekensteyn.nl/rpath.html
> 
> (Yes, something for macOS would be nice, to work around SIP issues, but
> I'll leave that as a separate future item.)

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Nikolay Shaplov
Date:
Subject: Re: [PATCH] get rid of StdRdOptions, use individual binary reloptions representation for each relation kind instead
Next
From: Ronan Dunklau
Date:
Subject: Inconsistency between attname of index and attname of relation