[Mesa-dev] [PATCH] osmesa: Copy shared library to LIB_DIR to fix two symlinks

Matt Turner mattst88 at gmail.com
Thu Aug 15 08:55:11 PDT 2013


On Thu, Aug 15, 2013 at 7:19 AM, Armin K <krejzi at email.com> wrote:
> ---
>  src/mesa/drivers/osmesa/Makefile.am | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/drivers/osmesa/Makefile.am b/src/mesa/drivers/osmesa/Makefile.am
> index a1c0bb5..d625faa 100644
> --- a/src/mesa/drivers/osmesa/Makefile.am
> +++ b/src/mesa/drivers/osmesa/Makefile.am
> @@ -56,6 +56,7 @@ all-local: lib at OSMESA_LIB@.la
>         $(MKDIR_P) $(top_builddir)/$(LIB_DIR);
>         ln -f .libs/lib at OSMESA_LIB@.so $(top_builddir)/$(LIB_DIR)/lib at OSMESA_LIB@.so;
>         ln -f .libs/lib at OSMESA_LIB@.so. at OSMESA_VERSION@ $(top_builddir)/$(LIB_DIR)/lib at OSMESA_LIB@.so. at OSMESA_VERSION@;
> +       cp .libs/lib at OSMESA_LIB@.so. at OSMESA_VERSION@.0.0 $(top_builddir)/$(LIB_DIR)/
>  endif
>
>  pkgconfigdir = $(libdir)/pkgconfig
> --
> 1.8.3.4

Just ln -f it like the others.


More information about the mesa-dev mailing list