Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: aballier@g.o
Subject: Re: [gentoo-dev] Re: prune_libtool_files() and pkg-config dependency
Date: Sat, 01 Sep 2012 07:41:04
Message-Id: 20120901094047.5b422858@pomiocik.lan
In Reply to: Re: [gentoo-dev] Re: prune_libtool_files() and pkg-config dependency by Alexis Ballier
1 On Fri, 31 Aug 2012 20:14:43 -0400
2 Alexis Ballier <aballier@g.o> wrote:
3
4 > > Ah, while we're at it. If a library has macros referring
5 > > to the functions of another library (or just types) in its public
6 > > API, it needs a pkg-config file. ELF dependencies are not enough,
7 > > and the gold linker will refuse to work because of a missing
8 > > explicit dependency.
9 >
10 > Eh, straight to the point where pkgconfig is not the solution to
11 > everything: a binary not using said macros but trusting pkgconfig will
12 > get overlinked. Documentation stating that when using these
13 > macros/functions one should link to the other lib would make things
14 > even better.
15
16 The macros/types can change over time. Maintaining all indirect
17 dependencies is not friendly nor useful.
18
19 --
20 Best regards,
21 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Re: prune_libtool_files() and pkg-config dependency Alexis Ballier <aballier@g.o>