85221d5d75
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).
10 lines
151 B
Bash
10 lines
151 B
Bash
#!/bin/sh
|
|
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
|
|
@LD_PRELOAD_VAR@=${libdir}/libjemalloc.@SOREV@
|
|
export @LD_PRELOAD_VAR@
|
|
exec "$@"
|