dxvk-native icon indicating copy to clipboard operation
dxvk-native copied to clipboard

Q: dynapi-like interface

Open MayeulC opened this issue 3 years ago • 1 comments

Hello Joshua :frog:

Quite an interesting project. However, I think every single point that led to the creation of SDL2's dynapi applies here.

Basically, is there an easy way to override the library with a newer version once it has been statically built and linked with an executable? This could help a lot with forward compatibility, though I don't even know if static linking is supported at the moment?

I suppose LD_PRELOAD might somewhat get around this issue, but I haven't tried it, and AFAIK it shouldn't work after stripping?

Thanks a lot.

MayeulC avatar Jul 28 '21 17:07 MayeulC

I don't think static linking is supported at the moment.

E.g. https://github.com/Joshua-Ashton/dxvk-native/blob/master/src/d3d9/meson.build#L44

Everything is using shared_library

bugproof avatar Sep 05 '21 14:09 bugproof