Skip to content

Commit

Permalink
Statically link phobos on Linux+LDC
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaTheFoxgirl authored Oct 1, 2024
1 parent 906a4ae commit 52e236e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ dependency "mir-linux-kernel" version="~>1.0.1"
targetPath "out/"
workingDirectory "out/"
dflags "-mscrtlib=msvcrt" platform="windows-ldc"
dflags "-link-defaultlib-shared=false" platform="linux-ldc"
lflags "-rpath=$$ORIGIN" platform="linux"
versions "GL_32" "USE_SDL2" "SDL_2020" "UseUIScaling"
stringImportPaths "res/" "./"
Expand Down Expand Up @@ -134,4 +135,4 @@ configuration "update-version" {
configuration "meta" {
targetType "none"
preGenerateCommands "rc.exe /v build-aux\\windows\\inochi-creator.rc" platform="windows"
}
}

0 comments on commit 52e236e

Please sign in to comment.