577ba99 Fix compilation with disabled link_all_deplibs.

1 file Authored by lslebodn 10 years ago, Committed by jhrozek 10 years ago,
1 file changed. 69 lines added. 75 lines removed.
    Fix compilation with disabled link_all_deplibs.
    
    From the Debian patch:
    ># Do not link against deplibs.  This is not needed for shared libs
    ># on at least ELF systems since those already know which libs they
    ># need themself.  This seems to break a few things and will be fixed
    ># in a better way in a future upstream version.
    
    Overlinking has several issues. An obvious one is performance on startup,
    a more serious is if one of the lib deps changes soname of something it links
    against, and you could load two versions to the memory at the same time..
    
    This patch changes dependencies among libsss_util and libsss_child,
    libsss_crypt, libsss_debug. Library libsss_util no longer depends on
    any internal library. Each program, which was linked with libsss_util,
    now directly link necessary libraries
    (libsss_child, libsss_crypt, libsss_debug)
    
    https://fedorahosted.org/sssd/ticket/1928
    
        
file modified
+69 -75