Can anyone point out how to link SDL2 statically? I have tried but none 
compiles succesfully. Thanks actually I am doing something with 
[https://github.com/yglukhov/nimx/issues/218#issuecomment-302429619](https://github.com/yglukhov/nimx/issues/218#issuecomment-302429619)
    
    
    nim c -r --threads:on -d:release --passL:sdl2.a test_nimx.nim
    nim c -r --threads:on -d:release --passL:libsdl2.a test_nimx.nim
    nim c -r --threads:on -d:release --passL:sdl2 test_nimx.nim
    nim c -r --threads:on -d:release --passL:libsdl2 test_nimx.nim
    

Reply via email to