mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
test: put shim at end of LD_PRELOAD path
Certain tools like the address-sanitizer fail if they are not the first LD_PRELOADed library. It does not seem to matter for our shims, as long as they are loaded before libnotmuch.
This commit is contained in:
parent
3734c76d12
commit
5248f55d5f
1 changed files with 1 additions and 1 deletions
|
@ -1128,7 +1128,7 @@ notmuch_with_shim () {
|
|||
base_name="$1"
|
||||
shift
|
||||
shim_file="${base_name}.so"
|
||||
LD_PRELOAD=./${shim_file}${LD_PRELOAD:+:$LD_PRELOAD} notmuch-shared "$@"
|
||||
LD_PRELOAD=${LD_PRELOAD:+:$LD_PRELOAD}:./${shim_file} notmuch-shared "$@"
|
||||
}
|
||||
|
||||
# Creates a script that counts how much time it is executed and calls
|
||||
|
|
Loading…
Reference in a new issue