diff mbox

libgo patch committed: Set libgo version number

Message ID mcrr4ooo4pc.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor Oct. 24, 2012, 4:48 a.m. UTC
This patch for mainline corresponds to the one I committed earlier on
the 4.7 branch.  This sets a different version for libgo.so on mainline
going forward.  Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline.

I actually committed this yesterday but forgot to press ^C^C on the
e-mail.

Ian
diff mbox

Patch

Index: libgo/configure.ac
===================================================================
--- libgo/configure.ac	(revision 192705)
+++ libgo/configure.ac	(revision 192706)
@@ -11,7 +11,7 @@  AC_INIT(package-unused, version-unused,,
 AC_CONFIG_SRCDIR(Makefile.am)
 AC_CONFIG_HEADER(config.h)
 
-libtool_VERSION=1:0:0
+libtool_VERSION=3:1:0
 AC_SUBST(libtool_VERSION)
 
 AM_ENABLE_MULTILIB(, ..)
Index: libgo/Makefile.am
===================================================================
--- libgo/Makefile.am	(revision 192705)
+++ libgo/Makefile.am	(revision 192706)
@@ -1860,7 +1860,8 @@  libgo_go_objs = \
 
 libgo_la_SOURCES = $(runtime_files)
 
-libgo_la_LDFLAGS = $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
+libgo_la_LDFLAGS = \
+	-version-info $(libtool_VERSION) $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
 
 libgo_la_LIBADD = \
 	$(libgo_go_objs) ../libbacktrace/libbacktrace.la \