You might need to add<div>-fuse-ld=lld to your LDFLAGS</div><div>make sure you also built and have installed the lld component of the llvm tool chain. </div><div><br></div><div>Best</div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 12, 2018, 03:20 Osman Zakir via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
<span>How do I use LLD to link against third-party libraries?  I've tried providing the full path along with the library name in the same argument with the -L flag (i.e. -L path/to/library.lib) without success.  I really want to know how I can do this.  Thanks
 in advance.</span></div>
</div>

_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>