Addresses
https://fedorahosted.org/sssd/ticket/257
On Ubuntu and other platforms that build with
LDFLAGS=-Wl,-Bsymbolic-files, we would fail to link the sssd binary
successfully, because files.o would have unresolved dependencies since
we don't link agsinst the SELinux library.
There were two options to fix this:
1) Link against -lselinux. I rejected this because the sssd monitor
binary does not in fact use any of the features of files.o at this time.
It didn't make sense to introduce an additional, unused library dependency.
2) Only link files.o (and SELinux) where needed. At this time, that
means only the command line tools. This is the approach I took.
If, in the future, we decide to add some of the files.c functionality to
other places in the SSSD, we can carry it in and link against SELinux at
that time.
--
Stephen Gallagher
RHCE 804006346421761
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/