Module: Mesa
Branch: master
Commit: 11e46a32aedb4ba85c68798ac00087e2c7ecb1a9
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=11e46a32aedb4ba85c68798ac00087e2c7ecb1a9

Author: Emil Velikov <[email protected]>
Date:   Mon Jun 23 15:13:47 2014 +0100

targets/vdpau: correctly generate the symlinks

Reported-by: David Heidelberger <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>

---

 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.*

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to