summaryrefslogtreecommitdiff
path: root/compat/solaris
Commit message (Collapse)AuthorAge
* compat/solaris/make_sunver.pl: Use /usr/bin/env perl instead of /usr/bin/perlMichael Niedermayer2015-10-20
| | | | | | | This is how the other perl scripts in git call perl Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* build: add Solaris symbol versioningSean McGovern2015-10-11
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: Luca Barbato <lu_zero@gentoo.org>