Keith Whitwell <[EMAIL PROTECTED]> writes:

> Josh Vanderhoof wrote:
> > 
> > I didn't RTFM.  It's just "./configure --disable-shared; make".  After
> > that, you can make a non-pic shared lib with
> > 
> > gcc -o libMesaGL.so.3.1 \
> > -shared -Wl,--whole-archive libMesaGL.a -Wl,--no-whole-archive \
> > -lglide2x -lvga -L/usr/X11R6/lib -lXext -lX11 -lm
> > 
> 
> Josh, 
> 
> Will you be able to commit something which does this?

It's a workaround.  I don't think it should go in the makefile.
Libtool should either have a no-pic option, or it should put its
pic-flags before the the user's compile options so they can be
overridden (then "make CFLAGS='-fno-PIC -UPIC'" would work).


Josh



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

Reply via email to