Skip to content

Commit

Permalink
Static build only for ldc. Fixed #4
Browse files Browse the repository at this point in the history
  • Loading branch information
trikko committed Oct 13, 2023
1 parent fc47842 commit 40cc9e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ copyright "Copyright © 2023, Andrea Fontana"
license "MIT"
postBuildCommands "echo '\n👇👇 Install Now! 👇👇\n\nsudo cp tshare /usr/local/bin\n'" platform="posix"
dflags "-link-defaultlib-shared=false" platform="ldc"
dflags "-static" platform="windows"
lflags "curl_a.lib" "crypt32.lib" "wldap32.lib" "normaliz.lib" "curl.exp" platform="windows"
dflags "-static" platform="windows-ldc"
lflags "curl_a.lib" "crypt32.lib" "wldap32.lib" "normaliz.lib" "curl.exp" platform="windows-ldc"

0 comments on commit 40cc9e6

Please sign in to comment.