summaryrefslogtreecommitdiffstats
path: root/memory/jemalloc/src/bin/jemalloc.sh.in
blob: cdf36737591aa1916616207272f99f7c8e8c01eb (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@

@LD_PRELOAD_VAR@=${libdir}/libjemalloc.@SOREV@
export @LD_PRELOAD_VAR@
exec "$@"