mirror of https://git.tukaani.org/xz.git
Updated INSTALL and PACKAGERS to match the changes
made in --enable-dynamic.
This commit is contained in:
parent
8238c4b240
commit
66da129c8e
20
INSTALL
20
INSTALL
|
@ -228,10 +228,22 @@ XZ Utils Installation
|
||||||
single-threaded applications and want to avoid dependency
|
single-threaded applications and want to avoid dependency
|
||||||
on libpthread.
|
on libpthread.
|
||||||
|
|
||||||
--enable-dynamic
|
--enable-dynamic=TYPE
|
||||||
Link the command line tools against shared liblzma. The
|
Specify how command line tools should be linked against
|
||||||
default (and recommended way) is to link the command line
|
liblzma. Possible TYPES:
|
||||||
tools against static liblzma.
|
|
||||||
|
yes All command line tools are linked against
|
||||||
|
shared liblzma (if shared liblzma was built).
|
||||||
|
This is equivalent to --enable-dynamic (i.e.
|
||||||
|
no =TYPE).
|
||||||
|
|
||||||
|
mixed Some tools are linked against static liblzma
|
||||||
|
and some against shared liblzma. This is the
|
||||||
|
default and recommended way.
|
||||||
|
|
||||||
|
no All command line tools are linked against
|
||||||
|
static liblzma (if static liblzma was built).
|
||||||
|
This is equivalent to --disable-dynamic.
|
||||||
|
|
||||||
This option is mostly useful for packagers, if distro
|
This option is mostly useful for packagers, if distro
|
||||||
policy requires linking against shared libaries. See the
|
policy requires linking against shared libaries. See the
|
||||||
|
|
11
PACKAGERS
11
PACKAGERS
|
@ -150,12 +150,13 @@ Information to packagers of XZ Utils
|
||||||
|
|
||||||
4.1. Static vs. dynamic linking of liblzma
|
4.1. Static vs. dynamic linking of liblzma
|
||||||
|
|
||||||
The default is to link the command line tools against static liblzma.
|
The default is to link the most important command line tools against
|
||||||
|
static liblzma, and the less important tools against shared liblzma.
|
||||||
This can be changed by passing --enable-dynamic to configure, or by
|
This can be changed by passing --enable-dynamic to configure, or by
|
||||||
not building static libraries at all by passing --disable-static to
|
not building static libraries at all by passing --disable-static
|
||||||
configure. It is mildly recommended that you use the default and link
|
to configure. It is mildly recommended that you use the default, but
|
||||||
the command line tools against static liblzma, but the configure
|
the configure options make it easy to do otherwise if the distro policy
|
||||||
options make it easy to do otherwise if the distro policy so requires.
|
so requires.
|
||||||
|
|
||||||
On 32-bit x86, linking against static liblzma can give a minor
|
On 32-bit x86, linking against static liblzma can give a minor
|
||||||
speed improvement. Static libraries on x86 are usually compiled as
|
speed improvement. Static libraries on x86 are usually compiled as
|
||||||
|
|
Loading…
Reference in New Issue