From 74b7dfc10d60e76d7575bb19656c3cb2f38003d6 Mon Sep 17 00:00:00 2001 From: Ari Vermette Date: Sat, 19 Mar 2022 04:14:48 -0400 Subject: [PATCH] add extra library name check for haiku fixes function on haiku. --- src/sdl2.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sdl2.nim b/src/sdl2.nim index a1bf001..f8c79a9 100644 --- a/src/sdl2.nim +++ b/src/sdl2.nim @@ -18,6 +18,8 @@ else: const LibName* = "libSDL2.dylib" elif defined(openbsd): const LibName* = "libSDL2.so.0.6" + elif defined(haiku): + const LibName* = "libSDL2-2.0.so.0" else: const LibName* = "libSDL2.so"