pkg-config-0.21, Requires.private items Required even when not using --static

Tom Parker palfrey at tevp.net
Wed Jan 24 05:45:56 PST 2007


Rex Dieter wrote:
>> Shouldn't Libs.private and Requires.private be ignored and not be used 
>> when/if one doesn't use
>> $ pkg-config --static
>> ?
> 
> Searching bugzilla, found this issue to be already reported,
> http://bugs.freedesktop.org/show_bug.cgi?id=4738
> with patch supplied.  Sadly, the original report is over a year old.

Requires.private is also needed for --cflags, as the library headers for 
package foo often require the headers for bar (indeed, that's half the 
point of Requires.private).

(Of course, the recursive adding isn't done properly, but that's my pet 
bug... https://bugs.freedesktop.org/show_bug.cgi?id=8788)

Tom Parker
-- 
palfrey at tevp.net - http://tevp.net
Illegitimus non carborundum


More information about the pkg-config mailing list