Thomas Tanner wrote:
> 
> On 16-Feb-2000 Brian Paul wrote:
> > Thanks.  I'd like to elaborate on this.  The Linux/OpenGL standard
> > calls for libGL.so to be built with implicit links to all other
> > libraries which it depends on.  I've been working on fixing this
> > in the old-style makefiles.  I'll be checking that in soon.
> >
> > Here's what the old-style makefiles are going to do:
> >
> > libGL.so implicitly links with:
> >       libX11
> >       libXext
> >       libm
> >       libpthread
> 
>  We'll need a check for other multithreading APIs too, right?

I haven't tested the pthread code on anything but Linux.
So, if we're using Linux, link with libpthread, don't otherwise.


> >       libglide2x / libglide3x  if build with 3dfx support
> >       libvga  if build with SVGA driver
> >
> > libGLU.so implicitly links with:
> >       libGL
> >       libm
> >
> > libglut.so implicitly links with:
> >       libGLU
> >       libGL
> >       libX11
> >       libXmu
> >       libXt
> >       libXi
> >       libm
> >
> > I've removed the -lICE and -lSM libs since I don't see the need
> > for them.
> >
> > Can we implement the same thing with libtool?
> 
>  Sure.

Thanks, Thomas.

-Brian


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to