From: Howard Chu Date: Wed, 7 Sep 2005 10:27:55 +0000 (+0000) Subject: Misc Windows linking fixes X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~467 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2ba90833c762a73af7c77392f9bbdf5c2bba881e;p=openldap Misc Windows linking fixes --- 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; \