DUB Build Linker Library Search Path

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 10 04:56:20 PDT 2015


On Friday, 10 July 2015 at 11:21:34 UTC, Rikki Cattermole wrote:
> No no, LFLAGS not LDFLAGS. It's basically lflags from dub file 
> but in environment args.

No, doesn't work:

     LFLAGS="-L-L/usr/lib/llvm-3.6/lib" dub build 
--compiler=/usr/bin/dmd

fails aswell:

Target tango 1.0.1+2.067 is up to date. Use --force to rebuild.
Target mambo 0.0.4 is up to date. Use --force to rebuild.
Target dstack 0.0.3 is up to date. Use --force to rebuild.
Building dstep ~master configuration "default", build type debug.
Running /usr/bin/dmd...
../../.dub/packages/mambo-0.0.4/mambo/util/Traits.d(154,39): 
Deprecation: typedef is removed
../../.dub/packages/mambo-0.0.4/mambo/util/Traits.d(182,30): 
Deprecation: typedef is removed
/usr/bin/ld: error: cannot find -lclang



More information about the Digitalmars-d-learn mailing list