summaryrefslogtreecommitdiffstats
path: root/libdha/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libdha/Makefile')
-rw-r--r--libdha/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/libdha/Makefile b/libdha/Makefile
index 8dce5cd0dc..0afd4a5524 100644
--- a/libdha/Makefile
+++ b/libdha/Makefile
@@ -72,6 +72,14 @@ else
ldconfig
endif
+uninstall:
+ rm -f $(prefix)/lib/libdha.so $(prefix)/lib/$(SHORTNAME) $(prefix)/lib/$(LIBNAME)
+ifeq ($(TARGET_OS),OpenBSD)
+ ldconfig -R
+else
+ ldconfig
+endif
+
#
# include dependency files if they exist
#