The real problem here is when you have complex frameworks like gtk.
pkg-config basically will link you against gdk, gdk-pixbuf, gtk and a lot
of other stuff. But in practice, not every application need to link against
all of them.
On Thu, Aug 2, 2018 at 6:11 PM Rex Dieter <rdieter(a)math.unl.edu> wrote:
Dominique Martinet wrote:
> In practice, `pkg-config --cflags foo` will only fetch cflags for
> dependencies listed in Requires, not Requires.private
pkg-config --cflags foo
fetches cflags of Requires.private items in foo.pc for me.
I've patched many packages to use that feature, and haven't noticed any
breakage (so far).
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines