mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +09:00
[Fix] (MG_Util/BackendLoader): Add /usr/lib64 and /lib64 to library search paths for Fedora/RHEL compatibility.
This commit is contained in:
@@ -14,6 +14,7 @@ namespace MobileGL::MG_Util::BackendLoader {
|
|||||||
#if !defined(__WIN32) && !defined(_WIN32) && !defined(__APPLE__)
|
#if !defined(__WIN32) && !defined(_WIN32) && !defined(__APPLE__)
|
||||||
static const String LibPathPrefixes[] = {
|
static const String LibPathPrefixes[] = {
|
||||||
"/opt/vc/lib/", "/usr/local/lib/", "/usr/lib/", "/usr/lib/x86_64-linux-gnu/",
|
"/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
|
"" // We should put this to the end of the list to avoid breaking `LD_LIBRARY_PATH` usage
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user