From: Matt Turner Date: Wed, 17 Dec 2014 20:40:30 +0000 (-0800) Subject: targets/vdpau: Add uninstall hooks to handle megadriver hardlinks. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed1ac1d57473335508e503d786ff1443c56f0bac;p=mesa.git targets/vdpau: Add uninstall hooks to handle megadriver hardlinks. --- diff --git a/src/gallium/targets/vdpau/Makefile.am b/src/gallium/targets/vdpau/Makefile.am index 6ac4905de0a..32b34011b13 100644 --- a/src/gallium/targets/vdpau/Makefile.am +++ b/src/gallium/targets/vdpau/Makefile.am @@ -119,3 +119,8 @@ install-data-hook: $${dest_dir}/$${k}; \ done; \ $(RM) -f $${dest_dir}/libvdpau_gallium.* + +uninstall-hook: + for i in $(TARGET_DRIVERS); do \ + $(RM) $(DESTDIR)$(vdpaudir)/libvdpau_$${i}.so{,.$(VDPAU_MAJOR){,.$(VDPAU_MINOR){,.0}}}; \ + done;