Bug#343711: gdk-x11-2.0.pc spreads library dependencies needlessly

J.H.M. Dassen (Ray) fsmla at xinara.org
Sat Dec 17 15:26:46 UTC 2005


On Sat, Dec 17, 2005 at 16:20:39 +0100, Loic Minier wrote:
> On Sat, Dec 17, 2005, J.H.M. Dassen (Ray) wrote:
> > (It also includes -lX11, but that dependency is exposed through e.g.
> > gdk/gdkx.h)
> 
>  I didn't see the dependency you mention with -lX11, do you mean because
>  of the included headers?

Yes. I'm going by this guideline from /usr/share/doc/pkg-config/NEWS.gz:
"Generally, if include another library's headers in your own, it's a public
dependency and not a private one.".

Greetings,
Ray
-- 
Outlook Express is free, and also sometimes lets strangers share your hard
disk - is this anarchism?
	The Register's Graham Lea commenting on Steve Balmer's comparison of
	Linux to communism in http://www.theregister.co.uk/content/1/12266.html





More information about the Pkg-gnome-maintainers mailing list