• Sean McGovern's avatar
    build: add Solaris symbol versioning · c1aac39e
    Sean McGovern authored
    The versioning facility in the Solaris linker differs from Linux in 3 ways:
    
    1. It does not support globs in linker scripts for
    symbol versioning -- this is a GNU extension.
    
    2. The linker argument is '-M', instead of '--version-script'.
    
    3. It is picky about line endings.
    Each symbol or directive must be on a line of it's own.
    
    Let's use make_sunver.pl from GCC to generate a version script that works
    correctly with the Solaris linker. It's function is to correctly expand the
    globs in the original generated version script.
    Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
    c1aac39e
configure 154 KB