tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg-config trouble

On Wed, Feb 20, 2008 at 08:00:07PM +0100, Tobias Nygren wrote:
> I've run into some trouble with pkg-config and fontconfig on IRIX
> when playing with X11_TYPE=modular. As you may know, IRIX doesn't
> have transitive runtime linking, e.g. the whole tree of library
> dependencies must be specified on the command line when linking.

Same problem for AIX. One approach is to add a way for the wrapper
framework to *add* libraries, e.g. IF -lfoo is found, ADD -lbar after
that. With that buildlink3 can be used.

> I believe the fontconfig.pc is wrong and should express need for
> additional libraries, specifially -lexpat -liconv -lfreetype2 -lz.

It is doesn't cover those cases not using libtool and not using
pkg-config either. Otherwise I have no major objection.


Home | Main Index | Thread Index | Old Index