Why is DUB not passing dll.def file to linker

Igor via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 21 03:53:42 PDT 2017


On Sunday, 21 May 2017 at 10:15:40 UTC, Mike Parker wrote:
> Then you can add the following to exeProject/dub.json:
>
> "dependencies": {
>     "dllProjectName": {"path" : "../dllProject" }
> }
>
> I would expect the import lib to be linked automatically. This 
> should ensure the dll is compiled with the same architecture as 
> the exe.

DUB reports:

Dynamic libraries are not yet supported as dependencies - 
building as static library.


More information about the Digitalmars-d-learn mailing list