How can I fully include "libdruntime-ldc.a" and "libphobos2-ldc.a" in my .so lib ?

kinke noone at nowhere.com
Thu Apr 16 12:45:21 UTC 2020


On Thursday, 16 April 2020 at 10:04:54 UTC, Basile B. wrote:
> Just got it to work using
>
>   "libs" : [
>     "druntime-ldc",
>     "phobos2-ldc"
>   ]

$ ldc2 -help | grep -- -link-defaultlib-shared
   --link-defaultlib-shared               - Link with shared 
versions of default libraries. Defaults to true when generating a 
shared library (-shared).
Boolean options can take an optional value, e.g., 
-link-defaultlib-shared=<true,false>.


More information about the Digitalmars-d-learn mailing list