From d1a5a4e39c877a493a11a9d9dca5158214063de4 Mon Sep 17 00:00:00 2001 From: BZLZHH Date: Sun, 7 Jun 2026 20:28:19 +0800 Subject: [PATCH] [Fix] (MG_Util/BackendLoader): Add /usr/lib64 and /lib64 to library search paths for Fedora/RHEL compatibility. --- MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.cpp b/MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.cpp index bdcd4798..91e2ebf0 100644 --- a/MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.cpp +++ b/MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.cpp @@ -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 };