From 22c133546a5b4bec399d4e20cf63455b1c4b0959 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 9 Mar 2014 11:50:44 +0000 Subject: automake: create compat symlinks only for linux systems MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The primary users of these are linux developers, although it can be extended for *BSD and others if needed. Fixes make install for Cygwin and OpenBSD at least. v2: - Wrap vdpau targets as well. v3: - Fold HAVE_COMPAT_SYMLINKS conditional within install*links.mk Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63269 Signed-off-by: Emil Velikov Reviewed-by: Jon TURNEY (v1) Reviewed-by: Christian König --- install-gallium-links.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'install-gallium-links.mk') diff --git a/install-gallium-links.mk b/install-gallium-links.mk index 4926463..5ee923b 100644 --- a/install-gallium-links.mk +++ b/install-gallium-links.mk @@ -1,6 +1,7 @@ # 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. +if HAVE_COMPAT_SYMLINKS all-local : .libs/install-gallium-links .libs/install-gallium-links : $(dri_LTLIBRARIES) $(vdpau_LTLIBRARIES) $(egl_LTLIBRARIES) $(lib_LTLIBRARIES) @@ -21,3 +22,4 @@ all-local : .libs/install-gallium-links ln -f $$f $$link_dir; \ fi; \ done && touch $@ +endif -- cgit v1.1