From 82348ef0d0268344ded48ed05b58ae07fd5ad1d1 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 20 Apr 1999 22:11:02 +0000 Subject: [PATCH] Remove libtool --version-info warnings. --- build/lib-shared.mk | 4 +--- build/top.mk | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/lib-shared.mk b/build/lib-shared.mk index 59fc6e9637..9a11df107a 100644 --- a/build/lib-shared.mk +++ b/build/lib-shared.mk @@ -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; \ diff --git a/build/top.mk b/build/top.mk index 97e18e4d46..3c40070f2c 100644 --- a/build/top.mk +++ b/build/top.mk @@ -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 -- 2.39.5