The changelog for 0.21 mentions "Always add all cflags. Debian #340904". However, this only works down one level when requires.private is in place. e.g. package A has a requires.private for package B which has a requires for package C. Doing "pkg-config --cflags A" will only get the flags for A and B, but not C. Switching A's requires.private to a requires fixes this, but changing B's requires to a requires.private does nothing.
Created attachment 7561 [details] [review] Corrects the behaviour
Created attachment 9374 [details] [review] the right fix
2007-06-18 Tollef Fog Heen <tfheen@err.no> * pkg.c (recursive_fill_list): Make sure to act recursively with Requires.private, making them much more useful. Special thanks to Matthias Clasen for lots and lots of nagging. Freedesktop #8788
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.