summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2022-11-22 16:31:28 +0000
committerPhilip Withnall <pwithnall@endlessos.org>2022-11-22 16:31:28 +0000
commit8d77591d895d4eb280936ddc94f6bfd83452141a (patch)
tree432089dbd7d9fe292a5ecade3cec4689dbf24a91
parent3af38a3a1a77d82c369f9564f56247977d892693 (diff)
build: Deprecate -Druntime_libdir option
It’s been broken since we ported to Meson and nobody has complained, so let’s deprecate it this cycle and remove it in GLib ≥ 2.78. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Fixes: #2786
-rw-r--r--docs/reference/glib/building.xml17
-rw-r--r--meson_options.txt3
2 files changed, 2 insertions, 18 deletions
diff --git a/docs/reference/glib/building.xml b/docs/reference/glib/building.xml
index f8a71db7d..dd1a4495b 100644
--- a/docs/reference/glib/building.xml
+++ b/docs/reference/glib/building.xml
@@ -334,23 +334,6 @@
<filename>meson-logs</filename> directory.
</para>
</formalpara>
-
- <formalpara>
- <title><option>-Druntime_libdir=RELPATH</option></title>
-
- <para>
- Allows specifying a relative path to where to install the runtime
- libraries (meaning library files used for running, not developing,
- GLib applications). This can be used in operating system setups where
- programs using GLib needs to run before e.g. <filename>/usr</filename>
- is mounted.
- For example, if <varname>LIBDIR</varname> is <filename>/usr/lib</filename> and
- <filename>../../lib</filename> is passed to
- <option>-Druntime_libdir</option> then the
- runtime libraries are installed into <filename>/lib</filename> rather
- than <filename>/usr/lib</filename>.
- </para>
- </formalpara>
</refsect1>
</refentry>
diff --git a/meson_options.txt b/meson_options.txt
index f13cbfdd5..a38b6423b 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,7 +1,8 @@
option('runtime_libdir',
type : 'string',
value : '',
- description : 'install runtime libraries relative to libdir')
+ description : 'install runtime libraries relative to libdir',
+ deprecated: true)
option('iconv',
type : 'combo',