compile: link dynamic OR static library in Windows

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Mon Feb 6 05:20:33 UTC 2023


On 06/02/2023 6:16 PM, Alexander Zhirov wrote:
> C:\sources\pxe-restore\source>dmd -i app.d -L'-LC:\Program Files\PostgreSQL\15\lib' -Llpq

Source files go after flags.

$ dmd -i -L'-LC:\Program Files\PostgreSQL\15\lib' -Llpq app.d


More information about the Digitalmars-d-learn mailing list