On Fri, Jul 4, 2008 at 12:05 AM, Michel Dänzer <[EMAIL PROTECTED]> wrote: > 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.
Yeah. The problem was that there was just one variable, $(APP_LIB_DEPS), where all the external libraries were stuffed. That works for say, xdemos, where you know you just need xlib, but then it's wrong for osdemos. In other words, it would need to be something more fine grained, and that could be a bit of work to get it all sorted out. -- Dan ------------------------------------------------------------------------- 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
