summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/vdpau
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/vdpau')
-rw-r--r--src/gallium/targets/vdpau/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/vdpau/Makefile.am b/src/gallium/targets/vdpau/Makefile.am
index 6ac4905..32b3401 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;