From 910bf33879ecdf654cdc6342564f7791e34a27bc Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Wed, 11 Sep 2024 23:09:34 +0200 Subject: [PATCH] configure: fix symbol prefix detection The symbol prefix check would incorrectly detect a bogus prefix in circumstances where sanitizers instrument the build, like when configuring with the clang-asan toolchain where it would detect the prefix as __odr_asan_gen_, which is obviously wrong. To fix this, adjust the prefix detection to only detect a one-character prefix, which is the only case that matters anywhere right now. --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 8fbf3772a8..2c4b5273b2 100755 --- a/configure +++ b/configure @@ -6137,9 +6137,11 @@ enabled pic && enable_weak_pic test_cc <