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.

Closes #23801.
This commit is contained in:
Samuel Thibault
2023-08-24 02:49:31 +02:00
committed by Vadim Zeitlin
parent 547d49f68b
commit 62f75c235d
+1 -1
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;