On Thu, 2008-07-03 at 16:50 -0700, Alan Coopersmith wrote:
> 
> As for libX11, the Solaris linker complains if you call an X11 function
> like XOpenDisplay() from your application, but don't link directly to it,
> even if you link to something like libGL that links to it (it assumes
> that dependencies of other libraries could change and you're safer to
> declare what you need and not just hope libGL always uses libX11 and never
> drops it for libxcb).

That certainly makes sense; apps/libraries should link directly to
precisely the set of libraries they reference symbols of, no more and no
less.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to