sdl2_nim icon indicating copy to clipboard operation
sdl2_nim copied to clipboard

static linking

Open amedlock opened this issue 6 years ago • 1 comments

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

amedlock avatar Feb 09 '19 05:02 amedlock

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

Vladar4 avatar Feb 09 '19 19:02 Vladar4