diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile
index 5f8ef64461efd14bd2ccc5cd387ffb2b5238659d..bca5cd3819c2f7d60426fa6f8eb48dab2dcbd740 100644
--- a/libraries/liblmdb/Makefile
+++ b/libraries/liblmdb/Makefile
@@ -41,7 +41,7 @@ install: $(ILIBS) $(IPROGS) $(IHDRS)
 	for f in $(IDOCS); do cp $$f $(DESTDIR)$(prefix)/man/man1; done
 
 clean:
-	rm -rf $(PROGS) *.[ao] *.so *~ testdb
+	rm -rf $(PROGS) *.[ao] *.[ls]o *~ testdb
 
 test:	all
 	rm -rf testdb && mkdir testdb