vibe.d + dub dynamic library

2015-01-02 Thread Benjamin Thaut via Digitalmars-d-learn

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


Re: vibe.d + dub dynamic library

2015-01-03 Thread Jacob Carlborg via Digitalmars-d-learn

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