docs: add note about --disable-all-programs
Addresses: https://github.com/karelzak/util-linux/issues/666 Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
f2cfb2351a
commit
e236f61d7c
|
@ -36,6 +36,25 @@ Compiling
|
||||||
|
|
||||||
FIXME: add notes about klib and uClib.
|
FIXME: add notes about klib and uClib.
|
||||||
|
|
||||||
|
|
||||||
|
Compile certain portion
|
||||||
|
|
||||||
|
See ./configure --help and use --disable-* and --enable-* options.
|
||||||
|
|
||||||
|
It's also possible to disable all the programs and enable only wanted.
|
||||||
|
For example:
|
||||||
|
|
||||||
|
./configure --disable-all-programs --enable-fallocate
|
||||||
|
|
||||||
|
Note that the configure script tracks dependencies between libs and
|
||||||
|
tools. Always see warning messages and follow error messages if any
|
||||||
|
dependence is necessary. For example to compile mount(8) you need also
|
||||||
|
libmount, libblkid and libuuid:
|
||||||
|
|
||||||
|
./configure --disable-all-programs --enable-mount --enable-libmount \
|
||||||
|
--enable-libblkid --enable-libuuid
|
||||||
|
|
||||||
|
|
||||||
Static linking
|
Static linking
|
||||||
|
|
||||||
Use --enable-static-programs[=LIST] configure option when
|
Use --enable-static-programs[=LIST] configure option when
|
||||||
|
|
Loading…
Reference in New Issue