diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-22 03:01:24 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-22 03:01:24 +0000 |
commit | 601d0314548303e5f799b0af1ad83ee16479d936 (patch) | |
tree | 7e27eca137315beb6660f7782a31cded8ccd15b3 | |
parent | 0d2b5b6ce0fd8cf2ac8c2c76a5ce021d9e939dc3 (diff) |
don't try to symlink files that don't exist
-rw-r--r-- | lib/mesa/src/gallium/targets/xvmc/Makefile.am | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/mesa/src/gallium/targets/xvmc/Makefile.am b/lib/mesa/src/gallium/targets/xvmc/Makefile.am index b32858908..f0a77120b 100644 --- a/lib/mesa/src/gallium/targets/xvmc/Makefile.am +++ b/lib/mesa/src/gallium/targets/xvmc/Makefile.am @@ -70,15 +70,9 @@ install-data-hook: for i in $(TARGET_DRIVERS); do \ 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 \ + l=$${k}.$(XVMC_MAJOR).$(XVMC_MINOR); \ + ln -f $${dest_dir}/$${j}.$(XVMC_MAJOR).$(XVMC_MINOR) \ $${dest_dir}/$${l}; \ - ln -sf $${l} \ - $${dest_dir}/$${k}.$(XVMC_MAJOR).$(XVMC_MINOR); \ - ln -sf $${l} \ - $${dest_dir}/$${k}.$(XVMC_MAJOR); \ - ln -sf $${l} \ - $${dest_dir}/$${k}; \ done; \ $(RM) $${dest_dir}/libXvMCgallium.* |