| From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Use relative rpath if possible |
| Date: | 2019-07-05 09:37:11 |
| Message-ID: | f9d4d582-f587-d679-a2cd-577c6c219e19@2ndquadrant.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 | Content-Type | Size |
|---|---|---|
| v2-0001-Use-relative-rpath-if-possible.patch | text/plain | 4.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ronan Dunklau | 2019-07-05 10:37:25 | Inconsistency between attname of index and attname of relation |
| Previous Message | Nikolay Shaplov | 2019-07-05 09:35:09 | Re: [PATCH] get rid of StdRdOptions, use individual binary reloptions representation for each relation kind instead |