How to build a static lib properly?

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Mon Mar 6 01:57:21 UTC 2023


On 06/03/2023 2:52 PM, ryuukk_ wrote:
> Are you saying dub doesn't build a static dcd.lib?

It did, but it doesn't contain any of the dependencies.

> What to do to make it so i get a static dcd.lib file that contains all 
> the code it needs?

$ dub build --combined

That may work. No guarantees. Dub isn't setup for distribution like this.



More information about the Digitalmars-d-learn mailing list