Re: Frustrations with pkg-config generation...

"Dr. Thomas Orgis via dev" <[email protected]>
Newsgroups gmane.comp.version-control.subversion.devel
Organization Universität Hamburg
Message-ID <20260707215546.36f3c699@plasteblaster>
Am Tue, 2 Jun 2026 17:28:05 +0200
schrieb Timofei Zhakov <[email protected]>:

> First of all, why do we list dependencies in the 'Libs' field? Shouldn't it
> be 'Requires.private'?

Yes, please. Do not leak depdendencies that are not needed first-hand
by dependents (for dynamic linking). These should all be Requires.private
or Libs.private (where no .pc module present).

(I'm maybe very late to the party, but I was poked at pkg-config stuff
today by a fruitlessly ended discussion I started with a project that
adds linker flags about rpath and dtags format in its .pc files … so,
please also, don't do that.).


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
HPC @ Universität Hamburg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.