aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-12-17 12:40:43 -0800
committerMatt Turner <[email protected]>2014-12-17 17:54:33 -0800
commitce48ce425aa6ff494e173689e40accc4d0195309 (patch)
tree8fa376293b9a0772cc6fde235380ac6f518c7755 /src/gallium
parented1ac1d57473335508e503d786ff1443c56f0bac (diff)
targets/xvmc: Add uninstall hooks to handle megadriver hardlinks.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/targets/xvmc/Makefile.am5
1 files changed, 5 insertions, 0 deletions
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;