This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Use -version-info for soname.
- From: Matthias Klose <doko at cs dot tu-berlin dot de>
- To: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Wed, 16 Jun 2004 22:12:11 +0200
- Subject: [patch] Use -version-info for soname.
see http://gcc.gnu.org/ml/gcc/2004-06/msg00784.html for a rationale
for the version number used.
2004-06-13 Matthias Klose <doko@debian.org>
* libtool-version: New.
* Makefile.am (libffi_la_LDFLAGS): Use -version-info for soname.
* Makefile.in: Regenerate.
ok to check in?
Matthias
diff -urN libffi.old/Makefile.am libffi/Makefile.am
--- libffi.old/Makefile.am 2004-03-19 23:34:16.000000000 +0100
+++ libffi/Makefile.am 2004-06-13 16:48:22.000000000 +0200
@@ -145,7 +145,7 @@
AM_CFLAGS = -Wall -g -fexceptions
-libffi_la_LDFLAGS = -release $(VERSION)
+libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version`
INCLUDES = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
diff -urN libffi.old/libtool-version libffi/libtool-version
--- libffi.old/libtool-version 1970-01-01 01:00:00.000000000 +0100
+++ libffi/libtool-version 2004-06-13 16:52:51.000000000 +0200
@@ -0,0 +1,6 @@
+# This file is used to maintain libtool version info for libffi. See
+# the libtool manual to understand the meaning of the fields. This is
+# a separate file so that version updates don't involve re-running
+# automake.
+# CURRENT:REVISION:AGE
+4:0:1