mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 20:19:34 -05:00
Misc Windows linking fixes
This commit is contained in:
parent
c7fe31b06d
commit
2ba90833c7
1 changed files with 4 additions and 2 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Reference in a new issue