I have tried using this command that I gleaned from another user's issue with static linking here(#185 ):
nim c -d:release --dynlibOverride:SDL2 --passL:-lSDL2 main.nim
and it appears not be statically linking. It compiles without issue, but it is the same file size as a regular release compilation and when I move it to a different computer it says that it can't find the lib.
I am using Linux with the 1.4.8 Nim release, using sdl2-dev from apt. I even pointed directly to where the SDL so file is and it compiled without issue, just wouldn't statically link.
Is my compiler command wrong or is it something else?
I have tried using this command that I gleaned from another user's issue with static linking here(#185 ):
nim c -d:release --dynlibOverride:SDL2 --passL:-lSDL2 main.nim
and it appears not be statically linking. It compiles without issue, but it is the same file size as a regular release compilation and when I move it to a different computer it says that it can't find the lib.
I am using Linux with the 1.4.8 Nim release, using sdl2-dev from apt. I even pointed directly to where the SDL so file is and it compiled without issue, just wouldn't statically link.
Is my compiler command wrong or is it something else?