Vladar4 / sdl2_nim

Wrapper of the SDL 2 library for the Nim language.
Other
145 stars 24 forks source link

static linking #21

Open amedlock opened 5 years ago

amedlock commented 5 years ago

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 commented 5 years ago

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