LD Changes To Implicit DSO Linking Update

Parag N(पराग़) panemade at gmail.com
Wed Feb 10 09:50:22 UTC 2010


Hi,
On Wed, Feb 10, 2010 at 12:51 AM, Roland McGrath <roland at redhat.com> wrote:
>> Replace
>>   make CFLAGS="%{optflags} -X11" %{?_smp_mflags}
>> with
>>   make CFLAGS="%{optflags}" LDFLAGS="-lX11" %{?_smp_mflags}
>
> This is still not really ideal.  For the long run, you should be fixing the
> upstream package so that it passes -lX11 where it needs it.  The most proper
> change keeps -lX11 at the end of the link line, rather than the beginning.

 But, howcome build succeed with just adding -lX11 to CFLAGS for iok package?

Regards,
Parag.


More information about the devel mailing list