On Wed, Aug 19, 2009 at 10:26:03AM +0100, Kai Hendry wrote:
> So why does the regular ld not require the -lX11 ?

The regular ld will try to figure out missing libraries based on
the libraries you do link to, and then claim you linked to it.

> Shouldn't xscrnsaver.pc include -X11 like other .pcs?

It has a:
Requires.private: x11 xext

Which is correct.

(And x11.pc has -lX11 in it's Libs)

But it's not because you use xscrnsaver and that that (now) uses
X11, that it should force X11 on you.  Nor should you depend on
it to get X11, since you're using X11 yourself.


Kurt




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to