On Tue, 18.10.11 12:51, har...@redhat.com (har...@redhat.com) wrote: > From: Harald Hoyer <har...@redhat.com> > > For libselinux and libcap the --as-needed linker flag does not seem to > work. In fact, it seems to be turned off completly, if one of these > libraries is used after --as-needed. > > This patch reduces the amount of linked libraries.
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 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. I'd be happy to take a patch for that! Or did I misunderstand the patch? Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel