Merge branch '2786-deprecate-options' into 'main'

build: Deprecate -Druntime_libdir option

Closes #2786

See merge request GNOME/glib!3087
This commit is contained in:
Marco Trevisan 2022-11-22 18:54:22 +00:00
commit b7344e374b
2 changed files with 2 additions and 24 deletions

View File

@ -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>

View File

@ -1,13 +1,8 @@
option('runtime_libdir',
type : 'string',
value : '',
description : 'install runtime libraries relative to libdir')
option('iconv',
type : 'combo',
choices : ['auto', 'libc', 'external'],
value : 'auto',
deprecated: true,)
description : 'install runtime libraries relative to libdir',
deprecated: true)
option('charsetalias_dir',
type : 'string',