On Sun, 13 Jan 2013 22:10:08 -0200
Gustavo Sverzut Barbieri <[email protected]> wrote:

> > - libedje.so is linked with libfontconfig but the rpath as specified by
> >   the latter's pkg-config file is not used when linking it. Because
> >   fontconfig is installed under the Xorg prefix (/usr/X11R7/) this
> >   breaks e.g. edje_cc during build. (I worked around it by setting
> >   LD_LIBRARY_PATH.)
> 
> This is very weird. libedje.so doesn't use fontconfig directly, it's
> just used by libevas.so and this uses whatever `pkg-config --libs
> fontconfig`reports. Is it a broken fontconfig.pc?

I don't think it's broken:
simult:2:~/work/e/efl$ pkg-config --libs fontconfig
-Wl,-rpath,/usr/X11R7/lib -L/usr/X11R7/lib -lfontconfig

and libevas.so has /usr/X11R7/lib in its RPATH.

I think libfontconfig gets linked in libedje by libtool because it's in
its (.la) dependency_libs? I see that -Wl,--as-needed is passed to the
command linking libedje, but it comes almost at the end, after all the
libraries, while the ld man page says it only affects libraries
mentioned after it. Maybe this is the problem?

kind regards
dieter

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to