mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
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>
This commit is contained in:
parent
4f80f5f904
commit
12ca2e37b7
@ -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";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user