]> git.sur5r.net Git - openldap/commitdiff
Needs to add symlink for static version of library.
authorKurt Zeilenga <kurt@openldap.org>
Sun, 29 Nov 1998 17:36:58 +0000 (17:36 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 29 Nov 1998 17:36:58 +0000 (17:36 +0000)
build/lib-shared.mk

index b0778be22ddaf7baf6973440ef5f883ea139e78d..57627f16450afe316e19e988f46ac6955ad2cc6a 100644 (file)
@@ -14,7 +14,9 @@ MKDEPFLAG = -l
 
 $(LIBRARY):  version.lo
        $(LINK) -rpath $(libdir) -o $@ $(OBJS) version.lo
-       @$(RM) ../$@;   \
+       $(RM) ../$@;    \
        (d=`$(PWD)` ; $(LN_S) `$(BASENAME) $$d`/$@ ../$@)
+       $(RM) ../`$(BASENAME) $@ .la`.a;        \
+       (d=`$(PWD)`; t=`$(BASENAME) $@ .la`.a; $(LN_S) `$(BASENAME) $$d`/.libs/$$t ../$$t)
 
 Makefile: $(top_srcdir)/build/lib-shared.mk