server-skynet-source-3rd-je.../bin/jemalloc.sh.in
Jason Evans a4936ce4d6 Fix jemalloc.sh code generation.
Fix jemalloc.sh code generation by adding @sorev@ and using it instead
of @SOREV@ (which contains Makefile-specific variables).
2012-04-23 12:46:46 -07:00

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 "$@"