Right. Is there an particular reason we can't dlopen the native library?
I don't think dlopen is preferable, quite the opposite in fact. dlopen leads to a situation in which Wine has features that work on the build system, but not at runtime on another system that doesn't have the library available. Statically linking to our dependencies avoids this, but it's only possible when the license is compatible. I think that's why we use dlopen, e.g. for OpenSSL, where due to license restrictions we can't statically link the code. --Juan