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,
zunkree

Yes, use -static

Here'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.

Reply via email to