From: Emil Velikov Date: Mon, 23 Jun 2014 14:13:47 +0000 (+0100) Subject: targets/vdpau: correctly generate the symlinks X-Git-Tag: upstream/10.3~1400 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11e46a32aedb4ba85c68798ac00087e2c7ecb1a9;p=platform%2Fupstream%2Fmesa.git targets/vdpau: correctly generate the symlinks Reported-by: David Heidelberger Signed-off-by: Emil Velikov --- 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.*