mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 14:42:10 -05:00
Remove libtool --version-info warnings.
This commit is contained in:
parent
9abff49932
commit
82348ef0d0
2 changed files with 4 additions and 4 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
|
|
@ -47,7 +47,9 @@ MKDEP = $(top_srcdir)/build/mkdep $(MKDEPFLAG) -d "$(srcdir)" -c "$(CC)"
|
|||
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIBVERSION = 0:0:0
|
||||
LTLINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(LTVERSION)
|
||||
LTVERSION = --version-info $LIBVERSION
|
||||
LTLIBLINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(LTVERSION)
|
||||
LTLINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS)
|
||||
LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
|
||||
|
||||
# Misc UNIX commands used in build environment
|
||||
|
|
|
|||
Loading…
Reference in a new issue