mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-24 20:02:14 +03:00
Fix jemalloc.sh code generation by adding @sorev@ and using it instead of @SOREV@ (which contains Makefile-specific variables).
9 lines
151 B
Bash
9 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 "$@"
|