]> git.ipfire.org Git - thirdparty/util-linux.git/commit
Automake: use EXTRA_LTLIBRARIES instead of noinst_LTLIBRARIES
authorLuca Boccassi <luca.boccassi@microsoft.com>
Mon, 15 Mar 2021 12:16:08 +0000 (12:16 +0000)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Mon, 15 Mar 2021 12:17:31 +0000 (12:17 +0000)
commitc65953d72bbc7412f32e566d9fa6e780d84f0696
tree1d31f79b326feeabbbdf38e7d85e1cddb9d7e64f
parent676fb001d6b092470d5390adbd0424dfdecafa3c
Automake: use EXTRA_LTLIBRARIES instead of noinst_LTLIBRARIES

noinst_LTLIBRARIES causes the libraries to be always built
unconditionally. EXTRA_LTLIBRARIES causes them to be built
only if other build target needs them.
In other words, avoid building libcommon.a and libtcolors.a
unless they are needed by another library/executable and
save some build time.

https://www.gnu.org/software/automake/manual/html_node/Libtool-Convenience-Libraries.html
Makefile.am
lib/Makemodule.am