Additional path for libs

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Feb 23 19:59:48 PST 2011


See this:

http://www.digitalmars.com/ctg/ctgLinkSwitches.html#scanlib

You pass switches to the linker via -L, so the switch might be:
dmd -L/SCANLIB

Of course you would have to update the LIB environment variable in
command line, or via a batch file before calling DMD:
> set lib=C:\DirWithLibFiles\;%lib%

I think that should do it, although I haven't tested it.


More information about the Digitalmars-d-learn mailing list