xref: /aosp_15_r20/external/jemalloc_new/bin/jemalloc.sh.in (revision 1208bc7e437ced7eb82efac44ba17e3beba411da)
1*1208bc7eSAndroid Build Coastguard Worker#!/bin/sh
2*1208bc7eSAndroid Build Coastguard Worker
3*1208bc7eSAndroid Build Coastguard Workerprefix=@prefix@
4*1208bc7eSAndroid Build Coastguard Workerexec_prefix=@exec_prefix@
5*1208bc7eSAndroid Build Coastguard Workerlibdir=@libdir@
6*1208bc7eSAndroid Build Coastguard Worker
7*1208bc7eSAndroid Build Coastguard Worker@LD_PRELOAD_VAR@=${libdir}/libjemalloc.@SOREV@
8*1208bc7eSAndroid Build Coastguard Workerexport @LD_PRELOAD_VAR@
9*1208bc7eSAndroid Build Coastguard Workerexec "$@"
10