Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static linking #21

Open
amedlock opened this issue Feb 9, 2019 · 1 comment
Open

static linking #21

amedlock opened this issue Feb 9, 2019 · 1 comment

Comments

@amedlock
Copy link

amedlock commented Feb 9, 2019

Is there a way to link statically to SDL2 with your wrapper?

I know with nim-lang/sdl2 it was required to define SDL_STATIC.

Thanks

@Vladar4
Copy link
Owner

Vladar4 commented Feb 9, 2019

I had no reason to experiment with this myself, but have you tried --dynlibOverride compiler option?
https://nim-lang.org/docs/nimc.html#dynliboverride

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

No branches or pull requests

2 participants