Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Q: dynapi-like interface #6

Open
MayeulC opened this issue Jul 28, 2021 · 1 comment
Open

Q: dynapi-like interface #6

MayeulC opened this issue Jul 28, 2021 · 1 comment

Comments

@MayeulC
Copy link

MayeulC commented Jul 28, 2021

Hello Joshua 🐸

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.

@bugproof
Copy link

bugproof commented Sep 5, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants