got it working on windows (Kinda)
This commit is contained in:
@@ -31,6 +31,6 @@ lean_exe LeanDoomed where
|
|||||||
root := `Main
|
root := `Main
|
||||||
-- we have to add the rpath to tell the compiler where all of the libraries are
|
-- we have to add the rpath to tell the compiler where all of the libraries are
|
||||||
moreLinkArgs := if Platform.isWindows then
|
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
|
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/"]
|
#["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/"]
|
||||||
|
|||||||
Reference in New Issue
Block a user