diff --git a/src/sdl2.nim b/src/sdl2.nim index cf85639..364d44b 100644 --- a/src/sdl2.nim +++ b/src/sdl2.nim @@ -23,7 +23,7 @@ else: elif defined(haiku): const LibName* = "libSDL2-2.0.so.0" else: - const LibName* = "libSDL2.so" + const LibName* = "libSDL2(|-2.0).so(|.0)" {.pop.} diff --git a/src/sdl2/gfx.nim b/src/sdl2/gfx.nim index af3f674..48e06f8 100644 --- a/src/sdl2/gfx.nim +++ b/src/sdl2/gfx.nim @@ -35,7 +35,7 @@ when not defined(SDL_Static): elif defined(macosx): const LibName = "libSDL2_gfx.dylib" else: - const LibName = "libSDL2_gfx(|-2.0).so(|.0)" + const LibName = "libSDL2_gfx(|-1.0).so(|.0)" else: static: echo "SDL_Static option is deprecated and will soon be removed. Instead please use --dynlibOverride:SDL2_gfx."