diff options
author | Andreas Schneider <asn@samba.org> | 2021-02-02 09:17:17 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2021-02-03 04:19:36 +0000 |
commit | 12ca2e37b753db1f39a16f3c6f8c7260abde9085 (patch) | |
tree | 67f410a21ac8d139ffd2a7ee784062e80501ef8c /selftest/selftest.pl | |
parent | 4f80f5f9046b64a9e5e0503b1cb54f1492c4faec (diff) | |
download | samba-12ca2e37b753db1f39a16f3c6f8c7260abde9085.tar.gz |
selftest: Fix libasan preload
libasan.so needs to be the first library which is preloaded or it wont
work.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest/selftest.pl')
-rwxr-xr-x | selftest/selftest.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 4c27edd2969..cfc5e438480 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -344,7 +344,7 @@ my $ld_preload = $ENV{LD_PRELOAD}; if ($opt_libasan_so_path) { if ($ld_preload) { - $ld_preload = "$ld_preload:$opt_libasan_so_path"; + $ld_preload = "$opt_libasan_so_path:$ld_preload"; } else { $ld_preload = "$opt_libasan_so_path"; } |