Fix DynamicLibrary::Load() test for less common platforms

alpha and ia64 use libc.so.6.1, GNU/kFreeBSD uses libc.so.0.1, and
GNU/Hurd uses libc.so.0.3, so check for these versions too in addition
to 6 and 7 used under x86 Linux.

See #23801.

(cherry picked from commit 62f75c235db169bf57beaa61694b3c5db95e5e60)
This commit is contained in:
Samuel Thibault 2023-08-24 00:48:41 +02:00 committed by Vadim Zeitlin
parent f5b2c1cc78
commit 9d761962bb

View File

@ -46,7 +46,7 @@ TEST_CASE("DynamicLibrary::Load", "[dynlib]")
"/usr/lib",
};
static const char* const candidateVersions[] = { "6", "7", };
static const char* const candidateVersions[] = { "6", "7", "6.1", "0.3", "0.1" };
wxString LIB_NAME;
wxArrayString allMatches;