add lib prefix to the shared object name

This commit is contained in:
Daniel Micay 2018-12-05 02:05:37 -05:00
parent 11fe467b7c
commit 9fd0670aac
2 changed files with 3 additions and 3 deletions

View file

@ -2,5 +2,5 @@
dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
[[ $LD_PRELOAD ]] && LD_PRELOAD+=" "
export LD_PRELOAD+="$dir/hardened_malloc.so"
export LD_PRELOAD+="$dir/libhardened_malloc.so"
exec "$@"