[Fix] (MG_Util/BackendLoader): Add /usr/lib64 and /lib64 to library search paths for Fedora/RHEL compatibility.

This commit is contained in:
BZLZHH
2026-06-07 20:28:19 +08:00
parent a701c896f0
commit d1a5a4e39c
@@ -14,6 +14,7 @@ namespace MobileGL::MG_Util::BackendLoader {
#if !defined(__WIN32) && !defined(_WIN32) && !defined(__APPLE__)
static const String LibPathPrefixes[] = {
"/opt/vc/lib/", "/usr/local/lib/", "/usr/lib/", "/usr/lib/x86_64-linux-gnu/",
"/usr/lib64/", "/lib64/",
"" // We should put this to the end of the list to avoid breaking `LD_LIBRARY_PATH` usage
};