DUB and static libs
Mike Parker via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Apr 20 06:15:13 PDT 2016
On Wednesday, 20 April 2016 at 13:12:54 UTC, Mike Parker wrote:
>
> "libs": [ "stdc++", "sid.a" ],
>
Oh, if you're using DMD only you can also pass configure it using
sourceFiles:
"sourceFile": ["/path/to/libsid.a"]
The first is the equivalant of:
dmd -L-lsid main.d ...
And the second:
dmd main.d /path/to/libsid.a ...
More information about the Digitalmars-d-learn
mailing list