aboutsummaryrefslogtreecommitdiffstats
path: root/extension/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'extension/Makefile.in')
-rw-r--r--extension/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/extension/Makefile.in b/extension/Makefile.in
index edd43399..821d6112 100644
--- a/extension/Makefile.in
+++ b/extension/Makefile.in
@@ -527,6 +527,9 @@ AM_CPPFLAGS = -I$(srcdir)/..
# correctly after changing configure.ac
ACLOCAL_AMFLAGS = -I m4
+# For some make's, e.g. OpenBSD, that don't define this
+RM = rm -f
+
# Note: rwarray does not currently compile.
pkgextension_LTLIBRARIES = \
errno.la \
@@ -1268,7 +1271,7 @@ install-data-hook:
# Keep the uninstall check working:
uninstall-so:
- $(RM) $(pkgextensiondir)/*.so
+ $(RM) $(DESTDIR)$(pkgextensiondir)/*.so
uninstall-recursive: uninstall-so