digitalmars.D.learn - vibe.d + dub dynamic library
- Benjamin Thaut (9/9) Jan 02 2015 Is it possible to get dub to build vibe.d into a dynamic library?
- Jacob Carlborg (5/10) Jan 03 2015 I'm not sure how Dub builds vibe.d but if a shared library is present
Is it possible to get dub to build vibe.d into a dynamic library? Or is it at least possible to make dub link against the shared version of phobos? I found this blog post about dynamic linktimes, unfortunately it does not describe how to actually make dub use the dynamic version of phobos. https://code.dawg.eu/reducing-vibed-turnaround-time-part-1-faster-linking.html (I'm on linux) Kind Regards Benjamin Thaut
Jan 02 2015
On 2015-01-02 19:44, Benjamin Thaut wrote:Is it possible to get dub to build vibe.d into a dynamic library? Or is it at least possible to make dub link against the shared version of phobos? I found this blog post about dynamic linktimes, unfortunately it does not describe how to actually make dub use the dynamic version of phobos.I'm not sure how Dub builds vibe.d but if a shared library is present isn't that usually preferred to static libraries? -- /Jacob Carlborg
Jan 03 2015