diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-10-23 05:01:24 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-10-23 05:01:24 +0000 |
commit | e8028ecdd02be651ec23cfdbc7e31c5b4b198ce1 (patch) | |
tree | 8716b2f5af43f42820b13806b8f74495bd7680c6 /libgo | |
parent | 4ccad563d2a3559f0557bfb177bcf45144219bdf (diff) | |
download | gcc-e8028ecdd02be651ec23cfdbc7e31c5b4b198ce1.zip gcc-e8028ecdd02be651ec23cfdbc7e31c5b4b198ce1.tar.gz gcc-e8028ecdd02be651ec23cfdbc7e31c5b4b198ce1.tar.bz2 |
re PR go/54918 (libgo.so.0 is not runtime compatible between gcc-4.6.2 and gcc-4.7.x)
PR go/54918
libgo: Set library version number.
From-SVN: r192706
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/Makefile.am | 3 | ||||
-rw-r--r-- | libgo/Makefile.in | 4 | ||||
-rwxr-xr-x | libgo/configure | 2 | ||||
-rw-r--r-- | libgo/configure.ac | 2 |
4 files changed, 7 insertions, 4 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index a0565b8..ad9f254 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -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 \ diff --git a/libgo/Makefile.in b/libgo/Makefile.in index 4822823..829dd8c 100644 --- a/libgo/Makefile.in +++ b/libgo/Makefile.in @@ -2002,7 +2002,9 @@ libgo_go_objs = \ unicode/utf8.lo 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 \ $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS) diff --git a/libgo/configure b/libgo/configure index e20fa71..04fa89d 100755 --- a/libgo/configure +++ b/libgo/configure @@ -2493,7 +2493,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_config_headers="$ac_config_headers config.h" -libtool_VERSION=1:0:0 +libtool_VERSION=3:1:0 # Default to --enable-multilib diff --git a/libgo/configure.ac b/libgo/configure.ac index 217763d..8cde50b 100644 --- a/libgo/configure.ac +++ b/libgo/configure.ac @@ -11,7 +11,7 @@ AC_INIT(package-unused, version-unused,, libgo) 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(, ..) |