got it working on windows (Kinda)

This commit is contained in:
Srayan Jana
2025-08-31 11:20:35 -07:00
parent 17bb4924dd
commit 8e4a63a5f2

View File

@@ -31,6 +31,6 @@ lean_exe LeanDoomed where
root := `Main
-- we have to add the rpath to tell the compiler where all of the libraries are
moreLinkArgs := if Platform.isWindows then
#["vendor/SDL/build/SDL3.dll", "vendor/SDL_image/build/SDL3_image.dll", "-Wl,-rpath=vendor/SDL/build/", "-Wl,-rpath=vendor/SDL_image/build/"]
#["vendor/SDL/build/SDL3.dll", "vendor/SDL_image/build/SDL3_image.dll"]
else
#["vendor/SDL/build/libSDL3.so", "vendor/SDL_image/build/libSDL3_image.so", "-Wl,--allow-shlib-undefined", "-Wl,-rpath=vendor/SDL/build/", "-Wl,-rpath=vendor/SDL_image/build/"]