Le 04/10/2010 08:35, Michał Górny a écrit :
> On Mon, 04 Oct 2010 00:00:22 +0200
> Rémi Cardona <r...@gentoo.org> wrote:
> 
>> #2a) pkg-config is one solution (what upstream Xorg says: "if you
>> want a static libX11, use pkg-config --static"), other teams/herds
>> could fix their packages' .pc files to correctly list all required
>> packages for proper static linking. It's not rocket science.
> 
> AFAIK more .pc files rather need fixing to list only direct
> dependencies when '--static' is not used. pkg-config itself takes care
> of the dependencies pretty well.

Right, either way, .pc files usually need a little tweaking as devs
rarely touch them unless something is really broken. Patching (in
accordance with upstream of course) may be required.

But it's definitely my preferred solution (and a cross-platform one at
that!)

Cheers,

Rémi

Reply via email to