mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
meson: Add equivalent of configure --disable-rpath option
Discussion: https://www.postgresql.org/message-id/flat/33e957e6-4b4e-b0ed-1cc1-6335a24543ff%40enterprisedb.com
This commit is contained in:
@ -2216,7 +2216,9 @@ ninja install
|
||||
different subdirectories may render the installation non-relocatable,
|
||||
meaning you won't be able to move it after installation.
|
||||
(The <literal>man</literal> and <literal>doc</literal> locations are
|
||||
not affected by this restriction.)
|
||||
not affected by this restriction.) For relocatable installs, you
|
||||
might want to use the <literal>-Drpath=false</literal> option
|
||||
described later.
|
||||
</para>
|
||||
|
||||
<variablelist>
|
||||
@ -2856,6 +2858,25 @@ ninja install
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="configure-rpath-meson">
|
||||
<term><option>-Drpath={ true | false }</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
This option is set to true by default. If set to false,
|
||||
do not mark <productname>PostgreSQL</productname>'s executables
|
||||
to indicate that they should search for shared libraries in the
|
||||
installation's library directory (see <option>--libdir</option>).
|
||||
On most platforms, this marking uses an absolute path to the
|
||||
library directory, so that it will be unhelpful if you relocate
|
||||
the installation later. However, you will then need to provide
|
||||
some other way for the executables to find the shared libraries.
|
||||
Typically this requires configuring the operating system's
|
||||
dynamic linker to search the library directory; see
|
||||
<xref linkend="install-post-shlibs"/> for more detail.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="configure-binary-name-meson">
|
||||
<term><option>-D<replaceable>BINARY_NAME</replaceable>=<replaceable>PATH</replaceable></option></term>
|
||||
<listitem>
|
||||
|
Reference in New Issue
Block a user