From: Matt Turner Date: Wed, 17 Dec 2014 20:40:43 +0000 (-0800) Subject: targets/xvmc: Add uninstall hooks to handle megadriver hardlinks. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce48ce425aa6ff494e173689e40accc4d0195309;p=mesa.git targets/xvmc: Add uninstall hooks to handle megadriver hardlinks. --- diff --git a/src/gallium/targets/xvmc/Makefile.am b/src/gallium/targets/xvmc/Makefile.am index cb39722cc84..a7b3365e2f0 100644 --- a/src/gallium/targets/xvmc/Makefile.am +++ b/src/gallium/targets/xvmc/Makefile.am @@ -82,3 +82,8 @@ install-data-hook: $${dest_dir}/$${k}; \ done; \ $(RM) -f $${dest_dir}/libXvMCgallium.* + +uninstall-hook: + for i in $(TARGET_DRIVERS); do \ + $(RM) $(DESTDIR)$(xvmcdir)/libXvMC$${i}.so{,.$(XVMC_MAJOR){,.$(XVMC_MINOR){,.0}}}; \ + done;