On Tue, Nov 1, 2011 at 23:39, Lennart Poettering <lenn...@poettering.net> wrote:
> Hmm, let me see if I get this right: with this patch applied we'd build
> cap and selinux support into libsystemd-basic.la, but we wouldn't link
> against the respective libraries but instead do that in the binaries
> which pull in the .la?

I did not try, but I suspect we depend on the -ffunction-sections +
-Wl,--gc-sections stuff o discard the parts which are compiled but not
part of the final binary. I guess without that we would have
unresolved symbols.

> I am not sure I like this. I mean, I understand the goal, and it's a
> good one, but I think if we do this we should do this properly, and
> split up util.c so that the stuff that uses caps and selinux is
> independent of the rest and can be pulled in individually as needed.

Yeah, splitting up seems the only non-tricky way of doing that.

Kay
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to