summaryrefslogtreecommitdiff
path: root/src/journal/sd-journal.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-12 00:06:24 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-13 00:32:32 +0200
commit474abe33bba901142d1a5510850b29cbec739d0d (patch)
tree68ba8fd2b8b96c06f415d33b4656c48856a56194 /src/journal/sd-journal.c
parent347e1b6df028ebb1589146c167add8d37a3d4244 (diff)
build-sys: avoid duplicate inclusion of log.c in tools
Before: shared code such as log.c was linked once into the public libraries (where it is entirely hidden) and once into the various tools which might use those libraries. This is suboptimal, as this way static variables such as the maximum log level are instantiated twice in all tools. After: our build the public libraries a second time, as a convenience libary, and link our tools against those. Hence all tools use only a single instance of everything.
Diffstat (limited to 'src/journal/sd-journal.c')
0 files changed, 0 insertions, 0 deletions