diff options
author | Peter Eisentraut | 2023-03-01 06:41:02 +0000 |
---|---|---|
committer | Peter Eisentraut | 2023-03-01 07:05:42 +0000 |
commit | d2f44cc36e60b5490e56fd2aa7d3381764a38d36 (patch) | |
tree | d23cd2a9e644cb70fa69c2428ce2ca5a2d50d796 /doc | |
parent | 6da67a0c111a29e876b7172d081c7d152d23ea3d (diff) |
meson: Add equivalent of configure --disable-rpath option
Discussion: https://www.postgresql.org/message-id/flat/33e957e6-4b4e-b0ed-1cc1-6335a24543ff%40enterprisedb.com
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/sgml/installation.sgml | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 0ed35d99e9..5affb64d95 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -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> |