From 230732d340525aa9c6f225b4a352a3bbc88690e1 Mon Sep 17 00:00:00 2001
From: Quanah Gibson-Mount <quanah@openldap.org>
Date: Tue, 28 Apr 2009 02:17:09 +0000
Subject: [PATCH] Remove obsolete libtool cruft

---
 build/lib.mk             | 4 +---
 tests/scripts/defines.sh | 2 --
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/build/lib.mk b/build/lib.mk
index 720840921f..09859f6e75 100644
--- a/build/lib.mk
+++ b/build/lib.mk
@@ -40,9 +40,7 @@ lint5: lint5-local FORCE
 clean-common: 	FORCE
 	$(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
 		$(PROGRAMS) $(XPROGRAMS) $(XSRCS) $(XXSRCS) \
-		*.o *.lo a.out *.exe core version.c .libs/* \
-		../`$(BASENAME) $(LIBRARY) .la`.so* \
-		../`$(BASENAME) $(LIBRARY) .la`*.dll
+		*.o *.lo a.out *.exe core version.c .libs/*
 
 depend-common: FORCE
 	$(MKDEP) $(DEFS) $(DEFINES) $(SRCS) $(XXSRCS)
diff --git a/tests/scripts/defines.sh b/tests/scripts/defines.sh
index b4d20fcdf4..088093b0e3 100755
--- a/tests/scripts/defines.sh
+++ b/tests/scripts/defines.sh
@@ -352,5 +352,3 @@ DDSOUT=$DATADIR/dds.out
 MEMBEROFOUT=$DATADIR/memberof.out
 SHTOOL="$SRCDIR/../build/shtool"
 
-# Just in case we linked the binaries dynamically
-LD_LIBRARY_PATH=$TESTWD/../libraries:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH
-- 
GitLab