f576c63f1e
Refactor the SO and REV such that they are set via autoconf variables, @so@ and @rev@. These variables are both needed by the jemalloc.sh script, so this unifies their definitions.
10 lines
154 B
Bash
10 lines
154 B
Bash
#!/bin/sh
|
|
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
|
|
@LD_PRELOAD_VAR@=${libdir}/libjemalloc.@so@.@rev@
|
|
export @LD_PRELOAD_VAR@
|
|
exec "$@"
|