Mesa (master): targets/xvmc: correctly generate the symlinks

Emil Velikov evelikov at kemper.freedesktop.org
Mon Jun 23 14:58:53 UTC 2014


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

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Jun 23 15:54:36 2014 +0100

targets/xvmc: correctly generate the symlinks

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

---

 src/gallium/targets/xvmc/Makefile.am |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/gallium/targets/xvmc/Makefile.am b/src/gallium/targets/xvmc/Makefile.am
index 227fde6..6e81e08 100644
--- a/src/gallium/targets/xvmc/Makefile.am
+++ b/src/gallium/targets/xvmc/Makefile.am
@@ -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.*




More information about the mesa-commit mailing list