Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7784c054 authored by Roman Lavrov's avatar Roman Lavrov Committed by Gerrit Code Review
Browse files

Merge "Allow to override ANGLE suffix with debug.angle.libs.suffix" into main

parents fb83f801 0ec33d71
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -548,6 +548,10 @@ static void* load_angle(const char* kind, android_namespace_t* ns) {
                .flags = ANDROID_DLEXT_USE_NAMESPACE,
                .library_namespace = ns,
        };
        auto prop = base::GetProperty("debug.angle.libs.suffix", "");
        if (!prop.empty()) {
            name = std::string("lib") + kind + "_" + prop + ".so";
        }
        so = do_android_dlopen_ext(name.c_str(), RTLD_LOCAL | RTLD_NOW, &dlextinfo);
    }