[systemd-devel] [PATCH] build-sys: do not link systemctl against journal-internal and id128-internal
Peeters Simon
peeters.simon at gmail.com
Fri Aug 3 18:21:11 PDT 2012
2012/8/3 Kay Sievers <kay at vrfy.org>:
> On Fri, Aug 3, 2012 at 8:02 PM, Zbigniew Jędrzejewski-Szmek
> <zbyszek at in.waw.pl> wrote:
>> On 08/03/2012 07:31 PM, Lennart Poettering wrote:
>>> On Fri, 03.08.12 17:14, Peeters Simon (peeters.simon at gmail.com) wrote:
>>>
>>>> systemctl does not need the internal journal and id128 libraries to
>>>> function, so don't link them.
>>>
>>> It doesn't? How so? "systemctl status" shows the journal contents, so we
>>> very much need this...
>
>> It seems to work fine without. I tested the compilation, and didn't
>> notice any problems.
>
> It probably works because of:
> http://cgit.freedesktop.org/systemd/systemd/commit/?id=41e5171419f5f9c08a338ea8b2ab8ea89c23c4ab
>
> which links-in the library code directly now.
actually i have no idea why/how it works, what i know is that it does,
and makes the systemctl binary go from ca. 300kB to ca. 8kB (I spotted
this while wondering why systemctl was so big)
More information about the systemd-devel
mailing list