[Mesa-dev] [PATCH] build: Install libwayland-egl.so.* symlinks in lib/
Jonathan Gray
jsg at jsg.id.au
Sun Aug 18 19:57:41 PDT 2013
Going behind the back of libtool like this will break on any
system that does not use linux style library versioning.
No one wants to comment on any patches to avoid this.
But if nothing else the comment about providing compatibility
to the old build system is wrong as several people objected
to removing the symlinks altogether.
On Sun, Aug 18, 2013 at 06:00:05PM -0700, Kenneth Graunke wrote:
> Like we do for all the other libraries.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
> src/egl/wayland/wayland-egl/Makefile.am | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/src/egl/wayland/wayland-egl/Makefile.am b/src/egl/wayland/wayland-egl/Makefile.am
> index 138c170..174d305 100644
> --- a/src/egl/wayland/wayland-egl/Makefile.am
> +++ b/src/egl/wayland/wayland-egl/Makefile.am
> @@ -9,3 +9,11 @@ lib_LTLIBRARIES = libwayland-egl.la
> noinst_HEADERS = wayland-egl-priv.h
> libwayland_egl_la_SOURCES = wayland-egl.c
> libwayland_egl_la_LDFLAGS = -version-info 1
> +
> +# 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: libwayland-egl.la
> + $(MKDIR_P) $(top_builddir)/$(LIB_DIR);
> + ln -f .libs/libwayland-egl.so.1.0.0 $(top_builddir)/$(LIB_DIR)/libwayland-egl.so.1.0.0
> + ln -sf libwayland-egl.so.1.0.0 $(top_builddir)/$(LIB_DIR)/libwayland-egl.so.1
> + ln -sf libwayland-egl.so.1 $(top_builddir)/$(LIB_DIR)/libwayland-egl.so
> --
> 1.8.3.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list