Mesa (master): targets/vdpau: correctly generate the symlinks
Emil Velikov
evelikov at kemper.freedesktop.org
Mon Jun 23 14:58:53 UTC 2014
Module: Mesa
Branch: master
Commit: 11e46a32aedb4ba85c68798ac00087e2c7ecb1a9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=11e46a32aedb4ba85c68798ac00087e2c7ecb1a9
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Mon Jun 23 15:13:47 2014 +0100
targets/vdpau: correctly generate the symlinks
Reported-by: David Heidelberger <david.heidelberger at ixit.cz>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/gallium/targets/vdpau/Makefile.am | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/gallium/targets/vdpau/Makefile.am b/src/gallium/targets/vdpau/Makefile.am
index a257db8..9920bd9 100644
--- a/src/gallium/targets/vdpau/Makefile.am
+++ b/src/gallium/targets/vdpau/Makefile.am
@@ -131,13 +131,13 @@ install-data-hook:
j=libvdpau_gallium.$(LIB_EXT); \
k=libvdpau_$${i}.$(LIB_EXT); \
l=$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0; \
- ln -f $${dest_dir}/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
- $${dest_dir}/$${l} \
+ ln -f .libs/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
+ $${dest_dir}/$${l}; \
ln -sf $${l} \
- $${link_dir}/$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR); \
+ $${dest_dir}/$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR); \
ln -sf $${l} \
- $${link_dir}/$${k}.$(VDPAU_MAJOR); \
+ $${dest_dir}/$${k}.$(VDPAU_MAJOR); \
ln -sf $${l} \
- $${link_dir}/$${k}; \
+ $${dest_dir}/$${k}; \
done; \
$(RM) -f $$dest_dir/libvdpau_gallium.*
More information about the mesa-commit
mailing list