]> git.sur5r.net Git - openldap/commitdiff
Misc Windows linking fixes
authorHoward Chu <hyc@openldap.org>
Wed, 7 Sep 2005 10:27:55 +0000 (10:27 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 7 Sep 2005 10:27:55 +0000 (10:27 +0000)
servers/slapd/Makefile.in

index 003706cfa2dfc063cd8ef150cb7e792518f395be..1765cd0c0e719aefec7e3e67c64b7c23cf0a0b40 100644 (file)
@@ -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; \