build fix

This commit is contained in:
Rostislav Vasilikhin 2024-11-12 17:04:42 +01:00
parent 37c2af63f0
commit 641f43dd48

View File

@ -204,7 +204,7 @@ static void* GetProcAddress(const char* name)
{ {
const std::string path = (i==0) ? getRuntimePath(defaultAndroidPaths[i]) : defaultAndroidPaths[i]; const std::string path = (i==0) ? getRuntimePath(defaultAndroidPaths[i]) : defaultAndroidPaths[i];
if (!path.empty()) { if (!path.empty()) {
handle = GetHandle(path); handle = GetHandle(path.c_str());
if (handle) { if (handle) {
foundOpenCL = true; foundOpenCL = true;
break; break;