On 08/21/2013 05:03 PM, Matt Turner wrote:
On Wed, Aug 21, 2013 at 7:06 AM, Brian Paul <bri...@vmware.com> wrote:
On 08/20/2013 03:18 PM, Matt Turner wrote:

The Gallium implementation is apparently not ready for regular
consumption, so as much as I hate adding more build-time options, here's
another.


The intention was for the old/swrast version of OSMesa would wind up in lib/
while the gallium version would wind up in lib/gallium/.  I thought that's
what I implemented.  Or is it "make install" that's causing overwriting?

Yes, it's make install that's overwriting the old/swrast version with
the Gallium version if Gallium is enabled. What winds up in the lib
directory when just make is run is controlled by the all-local hook
that creates the symlinks.

If you want it installed to $(libdir)/gallium the
src/gallium/targets/osmesa/Makefile.am should look like

gallium_libdir = $(libdir)/gallium
gallium_LTLIBRARIES = lib@OSMESA_LIB@.la

libgl-xlib has this same problem.

Should I send a patch for that?

Let's just go with the --enable-gallium-osmesa flag for now to get things working for 9.2. People probably just want either-or, not both versions of libOSMesa anyway.

Thanks.

I'm not a an automake expert but your patch looks OK to me.

Acked-by: Brian Paul <bri...@vmware.com>

-Brian

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to