RTLD_NEXT is a GNU-specific flag which isn't supported currently by libloading, so we can't replace shared_library with it. However, we can simply use dlsym directly, and since libc is already present in the dependency chain, in practice it still means building one less dependency.
Closes #3540
PR checklist:
[x] make succeeds (on *nix)
[x] make reftests succeeds
[x] tested examples with the following backends: Vulkan
RTLD_NEXT
is a GNU-specific flag which isn't supported currently by libloading, so we can't replace shared_library with it. However, we can simply usedlsym
directly, and since libc is already present in the dependency chain, in practice it still means building one less dependency.Closes #3540
PR checklist:
make
succeeds (on *nix)make reftests
succeeds