[Pkg-lyx-devel] Linking with gold

Abdelrazak Younes younes at lyx.org
Thu Dec 10 14:45:01 UTC 2009


Jean-Marc Lasgouttes wrote:
> Per Olofsson <pelle at dsv.su.se> writes:
>
>   
>> Hi Sven,
>>
>> Sven Hoexter skrev:
>>     
>>> Oh and I've no profound knowledge of the issue so it's possible that the
>>> better solution would be to fix something in Qt's pkg-config in Debian.
>>>       
>> It's not Qt's fault -- lyx uses X11 libs directly in at least one place:
>> src/frontends/qt4/GuiApplication.cpp
>>     
>
> Could someone explain to me how this works? QtGui has to link to X11
> somewhere, right? How come pkg-config does not need to specify an
> explicit -lX11?
>   

Because QtGui is a dynamic library it handles its dependency alone. What 
you say would be try if we did static linking.

Abdel.




More information about the Pkg-lyx-devel mailing list