mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-13 14:27:59 +08:00
Update libtool LTLIBLINK vs LTLINK -version-info handling... (from -devel)
This commit is contained in:
parent
99dfcd239a
commit
422b9b389d
1
CHANGES
1
CHANGES
@ -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)
|
||||
|
@ -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; \
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user