diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-03-09 11:50:44 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-03-11 12:50:43 +0000 |
commit | 22c133546a5b4bec399d4e20cf63455b1c4b0959 (patch) | |
tree | 19544daad1eb2df51742ff488674bedeaf9ebe21 /install-gallium-links.mk | |
parent | bba9c28215f96a6570c290906b64eea83383beb8 (diff) |
automake: create compat symlinks only for linux systems
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 <emil.l.velikov@gmail.com>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> (v1)
Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'install-gallium-links.mk')
-rw-r--r-- | install-gallium-links.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/install-gallium-links.mk b/install-gallium-links.mk index 49264639e7..5ee923b25d 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 |