[PATCH][Solaris] Add -lc also when linking shared libraries

Rafael Espíndola via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 14 12:32:38 PDT 2015


r247603

On 7 September 2015 at 13:22, Xan López via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
> On Mon, Sep 07, 2015 at 09:07:41AM -0700, Saleem Abdulrasool wrote:
>> > Basically check that -lc is present when clang is called in a certain
>> > way I guess? Or something more sophisticated?
>>
>>
>> Yeah, that it is present when a DSO or executable is linked.
>
> Right, maybe something like this. Patch attached.
>
> (If it seems fine please commit it for me, I do not have commit
> rights)
>
> Xan
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>


More information about the cfe-commits mailing list