From 96453f402831275a39d5fb89c33c9776e148d03f Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 22 Feb 2013 15:58:52 +0100 Subject: BUILD: Build shared components as an internal shared library There is a large amount of duplicated code being linked into multiple SSSD binaries. Instead of statically linking this code throughout the SSSD, we should instead create private shared libraries for them and drop this code on the system only once. --- contrib/sssd.spec.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'contrib') diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 2a0401d1..7f124f5c 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -385,6 +385,14 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/%{name}/libsss_proxy.so %{_libdir}/%{name}/libsss_simple.so +#Internal shared libraries +%{_libdir}/%{name}/libsss_child.so +%{_libdir}/%{name}/libsss_crypt.so +%{_libdir}/%{name}/libsss_debug.so +%{_libdir}/%{name}/libsss_krb5_common.so +%{_libdir}/%{name}/libsss_ldap_common.so +%{_libdir}/%{name}/libsss_util.so + %{ldb_modulesdir}/memberof.so %{_bindir}/sss_ssh_authorizedkeys %{_bindir}/sss_ssh_knownhostsproxy -- cgit