summaryrefslogtreecommitdiff
path: root/libpamc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libpamc/Makefile')
-rw-r--r--libpamc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpamc/Makefile b/libpamc/Makefile
index 49befe4b..0a302534 100644
--- a/libpamc/Makefile
+++ b/libpamc/Makefile
@@ -100,7 +100,9 @@ remove:
rm -f $(FAKEROOT)$(INCLUDED)/pam_client.h
rm -f $(FAKEROOT)$(libdir)/$(LIBNAMEDFULL)
rm -f $(FAKEROOT)$(libdir)/$(LIBNAMED)
+ifndef FAKEROOT
$(LDCONFIG)
+endif
rm -f $(FAKEROOT)$(libdir)/$(LIBNAMEDSTATIC)
clean: