Make versioned shared library suffix configurable

This allows for different patterns for file names:
- lib.so.version for e.g. Linux
- lib.version.dylib for OSX (which is much more common than
lib.dylib.version)
- lib.dll for Windows (no version at all).
This commit is contained in:
Mike Hommey 2012-04-18 18:29:40 +02:00 committed by Jason Evans
parent 78f7352259
commit 85221d5d75
3 changed files with 18 additions and 8 deletions

View file

@ -4,6 +4,6 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
@LD_PRELOAD_VAR@=${libdir}/libjemalloc.@so@.@rev@
@LD_PRELOAD_VAR@=${libdir}/libjemalloc.@SOREV@
export @LD_PRELOAD_VAR@
exec "$@"