server-skynet-source-3rd-je.../bin/jemalloc.sh.in
Jason Evans f576c63f1e Refactor SO and REV make variables.
Refactor the SO and REV such that they are set via autoconf variables,
@so@ and @rev@.  These variables are both needed by the jemalloc.sh
script, so this unifies their definitions.
2011-11-01 22:27:41 -07:00

10 lines
154 B
Bash

#!/bin/sh
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
@LD_PRELOAD_VAR@=${libdir}/libjemalloc.@so@.@rev@
export @LD_PRELOAD_VAR@
exec "$@"