On Saturday, 17 March 2018 at 15:42:06 UTC, Seb wrote:
On Saturday, 17 March 2018 at 14:44:42 UTC, zunkree wrote:Hi,Is there a way to build static linked executable with dub for vibe-d based app?Regards, zunkreeYes, use -staticHere's how we build the DTour: https://github.com/dlang-tour/core/blob/master/dub.sdl
I forgot to mention that -static is an LDC-only flag, but you wouldn't want to use DMD for an optimized application anyhow.