Skip to content
Snippets Groups Projects
Commit 82348ef0 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Remove libtool --version-info warnings.

parent 9abff499
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
## Makefile Template for Shared Libraries ## Makefile Template for Shared Libraries
## ##
LTVERSION = -version-info $(LIBVERSION)
LINK = $(LTLINK)
COMPILE = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c COMPILE = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c
MKDEPFLAG = -l MKDEPFLAG = -l
...@@ -17,7 +15,7 @@ MKDEPFLAG = -l ...@@ -17,7 +15,7 @@ MKDEPFLAG = -l
$(COMPILE) $< $(COMPILE) $<
$(LIBRARY): version.lo $(LIBRARY): version.lo
$(LINK) -rpath $(libdir) -o $@ $(OBJS) version.lo $(LTLIBLINK) -rpath $(libdir) -o $@ $(OBJS) version.lo
$(RM) ../$@; \ $(RM) ../$@; \
(d=`$(PWD)` ; $(LN_S) `$(BASENAME) $$d`/$@ ../$@) (d=`$(PWD)` ; $(LN_S) `$(BASENAME) $$d`/$@ ../$@)
$(RM) ../`$(BASENAME) $@ .la`.a; \ $(RM) ../`$(BASENAME) $@ .la`.a; \
......
...@@ -47,7 +47,9 @@ MKDEP = $(top_srcdir)/build/mkdep $(MKDEPFLAG) -d "$(srcdir)" -c "$(CC)" ...@@ -47,7 +47,9 @@ MKDEP = $(top_srcdir)/build/mkdep $(MKDEPFLAG) -d "$(srcdir)" -c "$(CC)"
LIBTOOL = @LIBTOOL@ LIBTOOL = @LIBTOOL@
LIBVERSION = 0:0:0 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) LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
# Misc UNIX commands used in build environment # Misc UNIX commands used in build environment
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment