On Sat, Sep 1, 2012 at 2:44 PM, Johannes Obermayr <[email protected]> wrote: > --- > src/mesa/drivers/osmesa/Makefile.am | 8 ++++++++ > 1 Datei geändert, 8 Zeilen hinzugefügt(+) > > diff --git a/src/mesa/drivers/osmesa/Makefile.am > b/src/mesa/drivers/osmesa/Makefile.am > index db1d14f..0696036 100644 > --- a/src/mesa/drivers/osmesa/Makefile.am > +++ b/src/mesa/drivers/osmesa/Makefile.am > @@ -47,6 +47,14 @@ all-local: lib@[email protected] > $(MKDIR_P) $(top_builddir)/$(LIB_DIR); > ln -f .libs/lib@[email protected] > $(top_builddir)/$(LIB_DIR)/lib@[email protected]; > ln -f .libs/lib@[email protected].@VERSION@ > $(top_builddir)/$(LIB_DIR)/lib@[email protected].@VERSION@; > + > +# The version bump from 8.0.x to 9.0.0 can make the need of massive rebuilds > on > +# current distributions when shipping an updated Mesa stack. > +# Because the soversion bump for OSMesa is not caused by a changed API we can > +# also symlink and ship a .so.8 to avoid such rebuilds. > +install-exec-hook: > + cd $(DESTDIR)$(libdir) && \ > + ln -s lib@[email protected].@VERSION@ lib@[email protected]; > endif > > pkgconfigdir = $(libdir)/pkgconfig > -- > 1.7.10.4
Can't we just stop using @VERSION@ as the so-version? Adding a .8 so link is a disgusting hack. _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
