1 |
Le 04/10/2010 08:35, Michał Górny a écrit : |
2 |
> On Mon, 04 Oct 2010 00:00:22 +0200 |
3 |
> Rémi Cardona <remi@g.o> wrote: |
4 |
> |
5 |
>> #2a) pkg-config is one solution (what upstream Xorg says: "if you |
6 |
>> want a static libX11, use pkg-config --static"), other teams/herds |
7 |
>> could fix their packages' .pc files to correctly list all required |
8 |
>> packages for proper static linking. It's not rocket science. |
9 |
> |
10 |
> AFAIK more .pc files rather need fixing to list only direct |
11 |
> dependencies when '--static' is not used. pkg-config itself takes care |
12 |
> of the dependencies pretty well. |
13 |
|
14 |
Right, either way, .pc files usually need a little tweaking as devs |
15 |
rarely touch them unless something is really broken. Patching (in |
16 |
accordance with upstream of course) may be required. |
17 |
|
18 |
But it's definitely my preferred solution (and a cross-platform one at |
19 |
that!) |
20 |
|
21 |
Cheers, |
22 |
|
23 |
Rémi |