• Dmitry Safonov's avatar
    Revert "compel: Move lib files into lib-y" · 7886b257
    Dmitry Safonov authored
    This reverts commit 6b0292e12614.
    
    handle_binary() is needed for preparing PIE header during compilation.
    If we need to provide API for building another compel binary, probably
    it should be a separate library from libcompel.{a,so}
    
    IOW, there is no sense to have handle_binary() included into CRIU.
    For CRIU it's needed only during the build to generate parasite header.
    
    Move handle_elf() to compel binary from library, as it was previously
    corrected in commit 64bb75a8 ("compel: Drop off handle-elf routines
    from library").
    Acked-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
    Cc: Cyrill Gorcunov <gorcunov@gmail.com>
    Signed-off-by: 's avatarDmitry Safonov <dima@arista.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@gmail.com>
    7886b257
Makefile 3.37 KB