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

Tom Parker palfrey at
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,
> 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 

Tom Parker
palfrey at -
Illegitimus non carborundum

More information about the pkg-config mailing list