targets/xvmc: correctly generate the symlinks
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 23 Jun 2014 14:54:36 +0000 (15:54 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 23 Jun 2014 14:54:36 +0000 (15:54 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/targets/xvmc/Makefile.am

index 227fde668a7bed3c2435a470084846ade2a8809c..6e81e085cb63bc80d64c7a048c5b7f4f9aff0962 100644 (file)
@@ -88,13 +88,13 @@ install-data-hook:
                j=libXvMCgallium.$(LIB_EXT);                            \
                k=libXvMC$${i}.$(LIB_EXT);                              \
                l=$${k}.$(XVMC_MAJOR).$(XVMC_MINOR).0;                  \
-               ln -f $$dest_dir/$$j.$(XVMC_MAJOR).$(XVMC_MINOR).0      \
-                     $$dest_dir/$${l};                                 \
+               ln -f .libs/$${j}.$(XVMC_MAJOR).$(XVMC_MINOR).0         \
+                     $${dest_dir}/$${l};                               \
                ln -sf $${l}                                            \
-                      $$dest_dir/$$k.$(XVMC_MAJOR).$(XVMC_MINOR);      \
+                      $${dest_dir}/$${k}.$(XVMC_MAJOR).$(XVMC_MINOR);  \
                ln -sf $${l}                                            \
-                      $$dest_dir/$$k.$(XVMC_MAJOR);                    \
+                      $${dest_dir}/$${k}.$(XVMC_MAJOR);                \
                ln -sf $${l}                                            \
-                      $$dest_dir/$$k;                                  \
+                      $${dest_dir}/$${k};                              \
        done;                                                           \
-       $(RM) -f $$dest_dir/libXvMCgallium.*
+       $(RM) -f $${dest_dir}/libXvMCgallium.*