Update libtool LTLIBLINK vs LTLINK -version-info handling... (from -devel)

This commit is contained in:
Kurt Zeilenga 1999-07-23 17:31:32 +00:00
parent 99dfcd239a
commit 422b9b389d
3 changed files with 5 additions and 4 deletions

View File

@ -9,6 +9,7 @@ Changes included in OpenLDAP 1.2 Release Engineering
Updated to latest Autoconf (AnonCVS)
Updated to latest aclocal from Automake (AnonCVS)
Updated to libtool-1.3.3.
Updated libtool -version-info handling
Don't use "ln -s -f file link" (ITS#227)
Documentation
Added -n option to ldif2ldbm(8) (ITS#59)

View File

@ -6,8 +6,6 @@
## Makefile Template for Shared Libraries
##
LTVERSION = -version-info $(LIBVERSION)
LINK = $(LTLINK)
COMPILE = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c
MKDEPFLAG = -l
@ -17,7 +15,7 @@ MKDEPFLAG = -l
$(COMPILE) $<
$(LIBRARY): version.lo
$(LINK) -rpath $(libdir) -o $@ $(OBJS) version.lo
$(LTLIBLINK) -rpath $(libdir) -o $@ $(OBJS) version.lo
$(RM) ../$@; \
(d=`$(PWD)` ; $(LN_S) `$(BASENAME) $$d`/$@ ../$@)
$(RM) ../`$(BASENAME) $@ .la`.a; \

View File

@ -53,7 +53,9 @@ MKDEP = $(top_srcdir)/build/mkdep $(MKDEPFLAG) -d "$(srcdir)" -c "$(CC)"
LIBTOOL = @LIBTOOL@
LIBVERSION = 1:0:0
LTLINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(LTVERSION)
LTVERSION = -version-info $(LIBVERSION)
LTLINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS)
LTLIBLINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(LTVERSION)
LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
# Misc UNIX commands used in makefiles