From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Use relative rpath if possible |
Date: | 2019-06-27 11:45:41 |
Message-ID: | 935bc2f0-42f4-e5f5-9a00-b47fa2bfe221@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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 |
---|---|---|
0001-Use-relative-rpath-if-possible.patch | text/plain | 4.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Gustafsson | 2019-06-27 11:53:52 | Re: Obsolete comment in commands/analyze.c |
Previous Message | Heikki Linnakangas | 2019-06-27 11:38:47 | Re: GiST VACUUM |