From 1b63129de3a93ae5eb87b2a534131c2ea8ba7824 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 16 Dec 2014 11:16:46 -0800 Subject: [PATCH] fortran: ensure to specify the shared library version --- VERSION | 1 + ompi/mpi/fortran/use-mpi-ignore-tkr/Makefile.am | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/VERSION b/VERSION index 88ba107f5f..232938a3d5 100644 --- a/VERSION +++ b/VERSION @@ -85,6 +85,7 @@ libmpi_so_version=0:0:0 libmpi_cxx_so_version=0:0:0 libmpi_mpifh_so_version=0:0:0 libmpi_usempi_tkr_so_version=0:0:0 +libmpi_usempi_ignore_tkr_so_version=0:0:0 libmpi_usempif08_so_version=0:0:0 libopen_rte_so_version=0:0:0 libopen_pal_so_version=0:0:0 diff --git a/ompi/mpi/fortran/use-mpi-ignore-tkr/Makefile.am b/ompi/mpi/fortran/use-mpi-ignore-tkr/Makefile.am index e7f0d30f03..2826660756 100644 --- a/ompi/mpi/fortran/use-mpi-ignore-tkr/Makefile.am +++ b/ompi/mpi/fortran/use-mpi-ignore-tkr/Makefile.am @@ -46,6 +46,10 @@ nodist_libmpi_usempi_ignore_tkr_la_SOURCES += \ mpi-ignore-tkr-sizeof.f90 endif +libmpi_usempi_ignore_tkr_la_LDFLAGS = \ + -version-info $(libmpi_usempi_ignore_tkr_so_version) \ + $(OMPI_FORTRAN_EXTRA_SHARED_LIBRARY_FLAGS) + # # mpi-ignore-tkr-sizeof.* are generated based on some results from # configure tests.