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

Author: Matt Turner <[email protected]>
Date:   Wed Dec 17 12:40:43 2014 -0800

targets/xvmc: Add uninstall hooks to handle megadriver hardlinks.

---

 src/gallium/targets/xvmc/Makefile.am |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gallium/targets/xvmc/Makefile.am 
b/src/gallium/targets/xvmc/Makefile.am
index cb39722..a7b3365 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;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to