[Mesa-dev] [PATCH 04/11] Drop last parts of compatibility for the old Mesa build system.

Johannes Obermayr johannesobermayr at gmx.de
Sat Jan 12 09:17:57 PST 2013


Am Samstag, 12. Januar 2013, 17:42:17 schrieb Andreas Boll:
> 2013/1/12 Kenneth Graunke <kenneth at whitecape.org>:
> > On 01/11/2013 06:23 PM, Johannes Obermayr wrote:
> >>
> >> diff --git a/src/egl/main/Makefile.am b/src/egl/main/Makefile.am
> >> index ca5257a..61192d6 100644
> >> --- a/src/egl/main/Makefile.am
> >> +++ b/src/egl/main/Makefile.am
> >> @@ -116,13 +116,6 @@ libEGL_la_LIBADD += ../drivers/dri2/libegl_dri2.la
> >>   libEGL_la_LIBADD += $(LIBUDEV_LIBS) $(DLOPEN_LIBS) $(LIBDRM_LIBS)
> >>   endif
> >>
> >> -# Provide compatibility with scripts for the old Mesa build system for
> >> -# a while by putting a link to the driver into /lib of the build tree.
> >> -all-local: libEGL.la
> >> -       $(MKDIR_P) $(top_builddir)/$(LIB_DIR);
> >> -       ln -f .libs/libEGL.so.1.0.0 $(top_builddir)/$(LIB_DIR)/libEGL.so.1
> >> -       ln -sf libEGL.so.1 $(top_builddir)/$(LIB_DIR)/libEGL.so
> >> -
> >>   pkgconfigdir = $(libdir)/pkgconfig
> >
> >
> > Installing a copy of everything in lib/ was actually a convenience for
> > developers wanting to test newly built stuff without having to 'make
> > install'.  Not really old build system cruft.
> >
> > I use this all the time.  I'd be OK with removing it and adjusting to more
> > standard practices, but I wanted to make sure everyone was aware it was
> > happening.
> >
> 
> Maybe we should wait with this patch until we get more response,
> because the last time we brought up removing this we get some objections[0].
> As a consequence I've had to add all the compatibility links to the
> automake-gallium branch.
> 
> [0] Thread started here:
> http://lists.freedesktop.org/archives/mesa-dev/2012-September/027889.html

After shared branch will be merged it shouldn't work anymore.

Then you must use 'make install DESTDIR=$DIR' instead and additionally add $DIR/mesa-$VERSION to PATH to find internal shared libs.


More information about the mesa-dev mailing list