Closed ghost closed 1 year ago
Can you please open PR with this? It's fine if the GL capture doesn't work with musl, as long as it can be compiled with musl and Vulkan capture works.
What are the other issues? The code should correctly handle dlsym
not being in libdl.so
(it's the case for newer glibc too).
Hi, currently obs-vkcapture fails to build on musl with:
/src/elfhacks.c:363:39: error: '__ELF_NATIVE_CLASS' undeclared (first use in this function)
A patch, more or less stolen from this PR for MangoHud, that seems to work is:This allows obs-vkcapture to build, however, there are still other runtime issues related to libdl.so, which causes obs-vkcapture to fail. Here is a potentially releveant issue