From f1a5d3a90df09b4f8749555936d71bae75477a45 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Wed, 17 Dec 2014 13:22:51 -0800 Subject: [PATCH] configury: propagate a libtool shared lib version for libfabric --- VERSION | 1 + configure.ac | 1 + opal/mca/common/libfabric/Makefile.am | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 232938a3d5..526ee11d23 100644 --- a/VERSION +++ b/VERSION @@ -108,6 +108,7 @@ libmca_common_verbs_so_version=0:0:0 # OPAL layer libmca_opal_common_pmi_so_version=0:0:0 +libmca_opal_common_libfabric_so_version=0:0:0 # ORTE layer libmca_common_alps_so_version=0:0:0 diff --git a/configure.ac b/configure.ac index 3d8b3a253b..dafde80bcf 100644 --- a/configure.ac +++ b/configure.ac @@ -152,6 +152,7 @@ AC_SUBST(libopen_pal_so_version) # right now. AC_SUBST(libmca_opal_common_hwloc_so_version) AC_SUBST(libmca_opal_common_pmi_so_version) +AC_SUBST(libmca_opal_common_libfabric_so_version) AC_SUBST(libmca_common_cuda_so_version) AC_SUBST(libmca_common_ofacm_so_version) AC_SUBST(libmca_common_sm_so_version) diff --git a/opal/mca/common/libfabric/Makefile.am b/opal/mca/common/libfabric/Makefile.am index bd5754eb68..57bc821c14 100644 --- a/opal/mca/common/libfabric/Makefile.am +++ b/opal/mca/common/libfabric/Makefile.am @@ -196,7 +196,8 @@ endif OPAL_COMMON_LIBFABRIC_HAVE_PROVIDER_PSM lib@OPAL_LIB_PREFIX@mca_common_libfabric_la_SOURCES = $(headers) $(sources) lib@OPAL_LIB_PREFIX@mca_common_libfabric_la_CPPFLAGS = $(cppflags) -lib@OPAL_LIB_PREFIX@mca_common_libfabric_la_LDFLAGS = -version-info 0:0:0 +lib@OPAL_LIB_PREFIX@mca_common_libfabric_la_LDFLAGS = \ + -version-info $(libmca_opal_common_libfabric_so_version) lib@OPAL_LIB_PREFIX@mca_common_libfabric_la_LIBADD = $(libadd) lib@OPAL_LIB_PREFIX@mca_common_libfabric_noinst_la_SOURCES = $(headers) $(sources)