a4936ce4d6
Fix jemalloc.sh code generation by adding @sorev@ and using it instead of @SOREV@ (which contains Makefile-specific variables).
10 lines
151 B
Bash
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 "$@"
|