Single exe vibe.d app
Nicholas Wilson via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Apr 5 05:49:17 PDT 2017
On Wednesday, 5 April 2017 at 12:13:38 UTC, Satoshi wrote:
> Hi,
> How can I build single exe application with vibe.d (windows)?
> now it require zlib.dll, libeay32.dll and ssleay32.dll
>
> But I need it as single app.
As Evilrat notes static libraries are one solution, the catch
being you need to get them as static libraries. zlib you should
easily be able to get as a static lib (making sure you use a
compatible linker/ linker format.
If for the other libraries that is not possible one approach is
described on the d idioms list:
http://p0nce.github.io/d-idioms/#Embed-a-dynamic-library-in-an-executable
The static library solution is probably the superior choice if
available.
More information about the Digitalmars-d-learn
mailing list