--- 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@OSMESA_LIB@.la $(MKDIR_P) $(top_builddir)/$(LIB_DIR); ln -f .libs/lib@OSMESA_LIB@.so $(top_builddir)/$(LIB_DIR)/lib@OSMESA_LIB@.so; ln -f .libs/lib@OSMESA_LIB@.so.@VERSION@ $(top_builddir)/$(LIB_DIR)/lib@OSMESA_LIB@.so.@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@OSMESA_LIB@.so.@VERSION@ lib@OSMESA_LIB@.so.8; endif pkgconfigdir = $(libdir)/pkgconfig -- 1.7.10.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev