From 2ba90833c762a73af7c77392f9bbdf5c2bba881e Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 7 Sep 2005 10:27:55 +0000 Subject: [PATCH] Misc Windows linking fixes --- servers/slapd/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/servers/slapd/Makefile.in b/servers/slapd/Makefile.in index 003706cfa2..1765cd0c0e 100644 --- a/servers/slapd/Makefile.in +++ b/servers/slapd/Makefile.in @@ -168,7 +168,7 @@ slapd.def: libbackends.a liboverlays.a version.o done="" ;\ base=`expr "$$i" : "-l\(.*\)"`; \ for p in $$paths ; do \ - for ext in la dll a ; do \ + for ext in la dll dll.a a ; do \ path=$$p/lib$$base.$$ext; \ test ! -f $$path && continue; \ if test $$ext = la ; then \ @@ -192,12 +192,14 @@ slapd.def: libbackends.a liboverlays.a version.o test -z "$$obj" && continue; \ ;; \ *.la) \ - if test -n "$LTSTATIC"; then \ + if test -n "$(LTSTATIC)"; then \ base=`expr "$$i" : ".*/\(.*\).la"`; \ path=`expr "$$i" : "\(.*/\).*"`; \ obj=$$path.libs/$$base.a; \ fi; \ ;; \ + *.dll.a) \ + ;; \ *.o | *.a) \ obj=$$i; \ esac; \ -- 2.39.5