summaryrefslogtreecommitdiff
path: root/libgfortran/Makefile.am
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-04 09:06:54 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-04 09:06:54 +0000
commite6584517083c3b79a48cb65c547c47e4f074ca1d (patch)
treee97220ba34257dbf6db6c99c510e9e7e078d13a3 /libgfortran/Makefile.am
parent5b08c6a374a300eb0c5ebcb9677f378430cce0ed (diff)
downloadgcc-e6584517083c3b79a48cb65c547c47e4f074ca1d.tar.gz
2004-07-04 Matthias Klose <doko@debian.org>
* libtool-version: New. * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname. * Makefile.in: Regenerate. * configure.ac: Remove libtool_VERSION macro * configure: Regenerate git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84074 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/Makefile.am')
-rw-r--r--libgfortran/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgfortran/Makefile.am b/libgfortran/Makefile.am
index 0c6935a2553..450a9a4e868 100644
--- a/libgfortran/Makefile.am
+++ b/libgfortran/Makefile.am
@@ -6,6 +6,8 @@ AM_CFLAGS = -std=gnu99
toolexeclib_LTLIBRARIES = libgfortran.la libgfortranbegin.la
+libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version`
+
## This should really go in the compiler lib dir, not the system lib dir.
libgfortranbegin_la_SOURCES = fmain.c
libgfortranbegin_la_LDFLAGS = -static