summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAntony Dovgal <tony@daylessday.org>2011-10-13 05:33:33 (GMT)
committerJason Evans <je@fb.com>2011-11-02 05:09:46 (GMT)
commit2bd3cbc5c68bb9b097c382108ae1aed793e08062 (patch)
treeed02b234f185bb4c10b0d3309723da819d50ba09 /bin
parentda9dde0854b2240882867f192a59ad391f4bf92b (diff)
downloadjemalloc-2bd3cbc5c68bb9b097c382108ae1aed793e08062.zip
jemalloc-2bd3cbc5c68bb9b097c382108ae1aed793e08062.tar.gz
jemalloc-2bd3cbc5c68bb9b097c382108ae1aed793e08062.tar.bz2
add autogenerated jemalloc.sh wrapper script
Diffstat (limited to 'bin')
-rw-r--r--bin/jemalloc.sh.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/jemalloc.sh.in b/bin/jemalloc.sh.in
new file mode 100644
index 0000000..4d13cc6
--- /dev/null
+++ b/bin/jemalloc.sh.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+
+@LD_PRELOAD_VAR@=${libdir}/libjemalloc.@SHLIB_SUFFIX_NAME@.1
+export @LD_PRELOAD_VAR@
+exec "$@"