Browse Source

build: correct libtool parameter used within Makefiles

This corrects the parameters passed to libtool when linking
the shared libraries. The paramter name is -version-info not
-version.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Brad Smith 7 years ago
parent
commit
4bed21c402
2 changed files with 2 additions and 2 deletions
  1. 1 1
      ospfclient/Makefile.am
  2. 1 1
      ospfd/Makefile.am

+ 1 - 1
ospfclient/Makefile.am

@@ -3,7 +3,7 @@
 INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
 
 lib_LTLIBRARIES = libospfapiclient.la
-libospfapiclient_la_LDFLAGS = -version 0:0:0
+libospfapiclient_la_LDFLAGS = -version-info 0:0:0
 
 sbin_PROGRAMS = ospfclient
 

+ 1 - 1
ospfd/Makefile.am

@@ -5,7 +5,7 @@ DEFS = @DEFS@ $(LOCAL_OPTS) -DSYSCONFDIR=\"$(sysconfdir)/\"
 INSTALL_SDATA=@INSTALL@ -m 600
 
 lib_LTLIBRARIES = libospf.la
-libospf_la_LDFLAGS = -version 0:0:0
+libospf_la_LDFLAGS = -version-info 0:0:0
 
 sbin_PROGRAMS = ospfd